cvs: /php4 SAPI.c
| From: | Zeev Suraski | Date: | Thu, 17 Feb 2000 20:46:13 +0000 |
| Subject: | cvs: /php4 SAPI.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10411@lists.php.net to get a copy of this message | ||
zeev Thu Feb 17 12:46:13 2000 EDT
Modified files:
/php4 SAPI.c
Log:
Fix duplicate freeing
Index: php4/SAPI.c
diff -u php4/SAPI.c:1.55 php4/SAPI.c:1.56
--- php4/SAPI.c:1.55 Thu Feb 17 12:23:57 2000
+++ php4/SAPI.c Thu Feb 17 12:46:13 2000
@@ -97,6 +97,7 @@
if (SG(request_info).post_entry) {
SG(request_info).post_entry->post_handler(SG(request_info).content_type_dup, arg SLS_CC);
efree(SG(request_info).post_data);
+ SG(request_info).post_data = NULL;
efree(SG(request_info).content_type_dup);
SG(request_info).content_type_dup = NULL;
}