mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
* libltdl/ltdl.c (lt_dlexit, lt_dlpath_insertdir): Fix memleaks,
free user_search_path on lt_dlexit.
This commit is contained in:
parent
bce1dbff48
commit
567c9626d9
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user