summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2008-09-16 09:46:24 +0000
committerScott MacVicar <scottmac@php.net>2008-09-16 09:46:24 +0000
commit3940782c25313c677ef174adcb53ca687056a08b (patch)
tree20614c42df63b6389e7183ced38e44198b6a45fb
parente39d08794e33568e94ca948cd36bb2d3df33d6b3 (diff)
downloadphp-git-3940782c25313c677ef174adcb53ca687056a08b.tar.gz
MFH: Fix memory leak in a few cases
-rw-r--r--ext/fileinfo/fileinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fileinfo/fileinfo.c b/ext/fileinfo/fileinfo.c
index 1ce3fbdd49..5e9381d959 100644
--- a/ext/fileinfo/fileinfo.c
+++ b/ext/fileinfo/fileinfo.c
@@ -89,6 +89,7 @@ static void finfo_objects_dtor(void *object, zend_object_handle handle TSRMLS_DC
efree(intern->ptr);
}
+ zend_object_std_dtor(&intern->zo TSRMLS_CC);
efree(intern);
}
/* }}} */