File tree 2 files changed +5
-0
lines changed 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ PHP NEWS
12
12
. Fix memory leak when calloc() fails in php_readline_completion_cb().
13
13
(nielsdos)
14
14
15
+ - Soap:
16
+ . Fix memory leaks in php_http.c when call_user_function() fails. (nielsdos)
17
+
15
18
05 Jun 2025, PHP 8.3.22
16
19
17
20
- Core:
Original file line number Diff line number Diff line change @@ -416,6 +416,7 @@ int make_http_soap_request(zval *this_ptr,
416
416
} else {
417
417
zval_ptr_dtor (& params [0 ]);
418
418
zval_ptr_dtor (& func );
419
+ zval_ptr_dtor (& retval );
419
420
if (request != buf ) {
420
421
zend_string_release_ex (request , 0 );
421
422
}
@@ -1314,6 +1315,7 @@ int make_http_soap_request(zval *this_ptr,
1314
1315
} else {
1315
1316
zval_ptr_dtor (& params [0 ]);
1316
1317
zval_ptr_dtor (& func );
1318
+ zval_ptr_dtor (& retval );
1317
1319
efree (content_encoding );
1318
1320
zend_string_release_ex (http_headers , 0 );
1319
1321
zend_string_release_ex (http_body , 0 );
You can’t perform that action at this time.
0 commit comments