diff options
author | Carsten Haitzler <raster@rasterman.com> | 2012-08-04 04:14:22 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2012-08-04 04:14:22 +0000 |
commit | f13d2a95c4b64a7d5fe8e6231f8094a1c47464bf (patch) | |
tree | d8e0b97ab744081a69cb3826a744f2046398c7bc /src | |
parent | 9a96b391d68a1571911ca359f35a2a18794e4079 (diff) | |
download | eina-f13d2a95c4b64a7d5fe8e6231f8094a1c47464bf.tar.gz |
leaklet--
SVN revision: 74867
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/eina_prefix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eina_prefix.c b/src/lib/eina_prefix.c index 79fecac..c020a10 100644 --- a/src/lib/eina_prefix.c +++ b/src/lib/eina_prefix.c @@ -591,6 +591,7 @@ eina_prefix_new(const char *argv0, void *symbol, const char *envprefix, { if (*p == DSEP_C) { + if (pfx->prefix_path) free(pfx->prefix_path); pfx->prefix_path = malloc(p - pfx->exe_path + 1); if (pfx->prefix_path) { |