summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_handlers.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2006-02-04 10:57:28 +0000
committerRob Richards <rrichards@php.net>2006-02-04 10:57:28 +0000
commita78a0b460cbacf57c659b3ff801abd390093f45a (patch)
tree55f0a1326af677ea693c6833b6c84f614d474d0e /ext/com_dotnet/com_handlers.c
parentaa1142eded6e52740146fa6b41bbb60c8aeb571c (diff)
downloadphp-git-a78a0b460cbacf57c659b3ff801abd390093f45a.tar.gz
Fixed bug #34272 (empty array onto COM object blows up)
fix mem leaks WS fixes add test
Diffstat (limited to 'ext/com_dotnet/com_handlers.c')
-rw-r--r--ext/com_dotnet/com_handlers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c
index 0fb3787c88..04c771c9d6 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -634,9 +634,11 @@ void php_com_object_free_storage(void *object TSRMLS_DC)
VariantClear(&obj->v);
if (obj->method_cache) {
+ zend_hash_destroy(obj->method_cache);
FREE_HASHTABLE(obj->method_cache);
}
if (obj->id_of_name_cache) {
+ zend_hash_destroy(obj->id_of_name_cache);
FREE_HASHTABLE(obj->id_of_name_cache);
}
efree(obj);