]> granicus.if.org Git - php/commitdiff
fix leak
authorGreg Beaver <cellog@php.net>
Sat, 21 Jun 2008 06:21:58 +0000 (06:21 +0000)
committerGreg Beaver <cellog@php.net>
Sat, 21 Jun 2008 06:21:58 +0000 (06:21 +0000)
ext/phar/util.c

index 043aad7b147fe42047a7e258218a07d0f9a0ae33..b20d257fe5bcaffd836a78f9c3165abd71cf65cf 100644 (file)
@@ -289,6 +289,7 @@ splitted:
                                return ret;
                        }
                }
+               efree(test);
        }
        spprintf(&path, MAXPATHLEN, "phar://%s/%s%c%s", arch, PHAR_G(cwd), DEFAULT_DIR_SEPARATOR, PG(include_path));
        efree(arch);