summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2008-09-16 09:45:06 +0000
committerScott MacVicar <scottmac@php.net>2008-09-16 09:45:06 +0000
commit355c6d42261964f91dfef2bef003f11720eab448 (patch)
tree15ba15f8334a21cccfee280c83e4c25ea755fb56
parentcee1c9d8313e3e0ecc7cfa7d89a8a9e158357929 (diff)
downloadphp-git-355c6d42261964f91dfef2bef003f11720eab448.tar.gz
Fix memory leak in a few cases
-rw-r--r--ext/fileinfo/fileinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/fileinfo/fileinfo.c b/ext/fileinfo/fileinfo.c
index 1b89036efe..83d1265cf8 100644
--- a/ext/fileinfo/fileinfo.c
+++ b/ext/fileinfo/fileinfo.c
@@ -88,7 +88,8 @@ static void finfo_objects_dtor(void *object, zend_object_handle handle TSRMLS_DC
magic_close(intern->ptr->magic);
efree(intern->ptr);
}
-
+
+ zend_object_std_dtor(&intern->zo TSRMLS_CC);
efree(intern);
}
/* }}} */