cvs: /php4/ext/session session.c
| From: | Andrey Zmievski | Date: | Thu, 16 Sep 1999 20:59:45 +0000 |
| Subject: | cvs: /php4/ext/session session.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4538@lists.php.net to get a copy of this message | ||
andrey Thu Sep 16 16:59:45 1999 EDT
Modified files:
/php4/ext/session session.c
Log:
Fixed memory leak.
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.51 php4/ext/session/session.c:1.52
--- php4/ext/session/session.c:1.51 Thu Sep 16 11:35:49 1999
+++ php4/ext/session/session.c Thu Sep 16 16:59:44 1999
@@ -808,6 +808,7 @@
== SUCCESS) {
zend_hash_del(&EG(symbol_table), variable, strlen(variable) + 1);
}
+ efree(variable);
}
}
/* }}} */