Fix invalid memory access from freeing dirName too early
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 17 Jun 2009 10:09:25 +0000 (13:09 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Jul 2009 06:41:19 +0000 (09:41 +0300)
commit9996927633f676b0863a7517da252d7d3123a590
treefa6267dfbac1337803b745e09cb80b9772f5118b
parent72b2263837a97eaa5d8049d6b243e243f783ae84
Fix invalid memory access from freeing dirName too early
- if it doesn't crash, it can cause rpmdb provided file not seen in chroot,
  the other half of RhBug:506323
- streamline exit points to enable freeing allocated resources sanely
(cherry picked from commit 0055fecfde5404c5106ac0fc58052e9264da8592)
lib/rpmdb.c