Skip to content

Commit 3940782

Browse files
author
Scott MacVicar
committed
MFH: Fix memory leak in a few cases
1 parent e39d087 commit 3940782

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/fileinfo/fileinfo.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ static void finfo_objects_dtor(void *object, zend_object_handle handle TSRMLS_DC
8989
efree(intern->ptr);
9090
}
9191

92+
zend_object_std_dtor(&intern->zo TSRMLS_CC);
9293
efree(intern);
9394
}
9495
/* }}} */

0 commit comments

Comments
 (0)