lib/alpm: unlock the handle before freeing it
commit002d2fda7a4e7f85798684c15809d30d27dc7034
authorDave Reisner <dreisner@archlinux.org>
Thu, 30 Jun 2011 04:22:53 +0000 (30 00:22 -0400)
committerDan McGee <dan@archlinux.org>
Thu, 30 Jun 2011 15:33:24 +0000 (30 10:33 -0500)
tree8680fbfaf7cad5700253c44d9278c34b74ac3d18
parent2860ade2f5f827c41d84bc7826444792433c8009
lib/alpm: unlock the handle before freeing it

This avoids, probably among other things, leaving the lock file in place
after a SIGINT'd sync DB update.

Fixes regression introduced in 4f8ae2b.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/alpm.c