be_sync.c: Fix memory leak in alpm_db_update()
commit455ca55f4efecf48bf86904e4a67a4b124cf1838
authorLukas Fleischer <archlinux@cryptocrack.de>
Fri, 26 Aug 2011 11:10:37 +0000 (26 13:10 +0200)
committerDan McGee <dan@archlinux.org>
Mon, 29 Aug 2011 00:40:22 +0000 (28 19:40 -0500)
treef649a4e1bb3271876e161b59f6581cfef5a0dcf0
parenta2002b8f690e12a7e8c75a3a9184570d27709c71
be_sync.c: Fix memory leak in alpm_db_update()

Free "syncpath" and restore umask if we fail to grab a lock.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_sync.c