* libltdl/ltdl.c (lt_dlexit, lt_dlpath_insertdir): Fix memleaks,

free user_search_path on lt_dlexit.
This commit is contained in:
Ralf Wildenhues 2004-10-08 14:10:33 +00:00
parent bce1dbff48
commit 567c9626d9
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/ltdl.c (lt_dlexit, lt_dlpath_insertdir): Fix memleaks,
free user_search_path on lt_dlexit.
2004-10-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE

View File

@ -294,6 +294,8 @@ lt_dlexit (void)
loader = next;
}
FREE(user_search_path);
}
done:
@ -1849,7 +1851,7 @@ lt_dlpath_insertdir (char **ppath, char *before, const char *dir)
if (*ppath == 0)
++errors;
return errors;
goto cleanup;
}
assert (ppath && *ppath);