leaklet--

SVN revision: 74867
This commit is contained in:
Carsten Haitzler 2012-08-04 04:14:22 +00:00
parent 493fd82f35
commit fd9578514e
1 changed files with 1 additions and 0 deletions

View File

@ -591,6 +591,7 @@ eina_prefix_new(const char *argv0, void *symbol, const char *envprefix,
{ {
if (*p == DSEP_C) if (*p == DSEP_C)
{ {
if (pfx->prefix_path) free(pfx->prefix_path);
pfx->prefix_path = malloc(p - pfx->exe_path + 1); pfx->prefix_path = malloc(p - pfx->exe_path + 1);
if (pfx->prefix_path) if (pfx->prefix_path)
{ {