diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-09-08 00:45:56 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-09-09 04:43:06 +0200 |
commit | a2cd48960e33043f75c81e0ecbc2d33b20b695fe (patch) | |
tree | 9a70e1d291fa5978536e80e5181e4bd0bbaf3fbb /HACKING | |
parent | 2e7c569950f3a6f651fb4850cb320068e2261198 (diff) | |
download | pacman-a2cd48960e33043f75c81e0ecbc2d33b20b695fe.tar.gz pacman-a2cd48960e33043f75c81e0ecbc2d33b20b695fe.tar.xz |
Fix a memleak involving lazy DB loading
Lazy opening of databases is supported since 34e1413d75.
We don't need that setlibpath call each time we register a database.
Besides this caused a memleak in case setlibpath failed, because setlibpath
exit directly and we did not do the cleanup part (section string was not
freed, and a file descriptor remained open).
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions