]> granicus.if.org Git - php/commitdiff
Fix broken fix for #80239
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 15 Oct 2020 11:18:34 +0000 (13:18 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 15 Oct 2020 11:18:34 +0000 (13:18 +0200)
No idea why that `git am` failed that badly.

ext/imap/php_imap.c

index 4acdc01338b32696c69fc1075540dea90cf811e6..d3b3986ad5a0fd29284cd95b9cd2f05a9bc8a855 100644 (file)
@@ -2305,7 +2305,6 @@ PHP_FUNCTION(imap_subscribe)
        } else {
                RETURN_FALSE;
        }
-       mail_free_address(&addr);
 }
 /* }}} */
 
@@ -2693,8 +2692,9 @@ PHP_FUNCTION(imap_rfc822_write_address)
        if (string) {
                RETVAL_STR(string);
        } else {
-               RETURN_FALSE;
+               RETVAL_FALSE;
        }
+       mail_free_address(&addr);
 }
 /* }}} */