summaryrefslogtreecommitdiff
path: root/legacy/eina
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-08-04 04:14:22 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-08-04 04:14:22 +0000
commitfd9578514e134be37ec976fdaf56d56da2b444a4 (patch)
tree1d33e8ab55358f2f96f97dad35cc121ec29b4cfe /legacy/eina
parent493fd82f35e98b913b79135d9df83de6ef558a14 (diff)
leaklet--
SVN revision: 74867
Diffstat (limited to 'legacy/eina')
-rw-r--r--legacy/eina/src/lib/eina_prefix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/eina/src/lib/eina_prefix.c b/legacy/eina/src/lib/eina_prefix.c
index 79fecacc7f..c020a10cb1 100644
--- a/legacy/eina/src/lib/eina_prefix.c
+++ b/legacy/eina/src/lib/eina_prefix.c
@@ -591,6 +591,7 @@ eina_prefix_new(const char *argv0, void *symbol, const char *envprefix,
591 { 591 {
592 if (*p == DSEP_C) 592 if (*p == DSEP_C)
593 { 593 {
594 if (pfx->prefix_path) free(pfx->prefix_path);
594 pfx->prefix_path = malloc(p - pfx->exe_path + 1); 595 pfx->prefix_path = malloc(p - pfx->exe_path + 1);
595 if (pfx->prefix_path) 596 if (pfx->prefix_path)
596 { 597 {