fix leak
authorMichael Wallner <mike@php.net>
Sun, 9 Dec 2012 22:22:45 +0000 (22:22 +0000)
committerMichael Wallner <mike@php.net>
Sun, 9 Dec 2012 22:22:45 +0000 (22:22 +0000)
php_http_message_body.c

index e765a4b93df639762b79322afe976136785047a8..d094db62582e5e489d1e16f1c58f09d310b156d0 100644 (file)
@@ -286,6 +286,7 @@ PHP_HTTP_API STATUS php_http_message_body_add_form_file(php_http_message_body_t
 
        efree(safe_name);
        efree(path_dup);
+       efree(bname);
 
        return SUCCESS;
 }