]> granicus.if.org Git - php/commitdiff
fix 1 mem leak
authorGreg Beaver <cellog@php.net>
Sun, 21 Jan 2007 06:39:32 +0000 (06:39 +0000)
committerGreg Beaver <cellog@php.net>
Sun, 21 Jan 2007 06:39:32 +0000 (06:39 +0000)
ext/phar/phar.c

index 9c991b312e0240c7abc866905bf8a00f4ac43606..bf3acb927f587ef6397c965b22867a4854bda623 100644 (file)
@@ -395,6 +395,7 @@ static void destroy_phar_manifest(void *pDest) /* {{{ */
        }
        if (entry->metadata) {
                zval_dtor(entry->metadata);
+               efree(entry->metadata);
                entry->metadata = 0;
        }
        efree(entry->filename);