projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
b9045f9
)
- fix leak with post files
author
Michael Wallner
<mike@php.net>
Thu, 22 Dec 2005 19:16:46 +0000
(19:16 +0000)
committer
Michael Wallner
<mike@php.net>
Thu, 22 Dec 2005 19:16:46 +0000
(19:16 +0000)
http_request_object.c
patch
|
blob
|
history
diff --git
a/http_request_object.c
b/http_request_object.c
index bf271105162e66c6c2e5f4fe717977bf0740bb3a..a3b132eeaaae4b4b60d50de558feb1777ad58101 100644
(file)
--- a/
http_request_object.c
+++ b/
http_request_object.c
@@
-1359,6
+1359,7
@@
PHP_METHOD(HttpRequest, addPostFile)
}
add_next_index_zval(new_post, entry);
SET_PROP(obj, postFiles, new_post);
+ zval_ptr_dtor(&new_post);
RETURN_TRUE;
}