Set HEADERFLAGS_ALLOCATED centrally from headerLoad()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 23 Jun 2009 14:50:08 +0000 (17:50 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 23 Jun 2009 14:50:08 +0000 (17:50 +0300)
commit51520de1d3dffedc0c047b6da3fa68e98c92acc0
tree0ae38be18e8e3201be251b5df0b7b134e24c0219
parentb02893092594b868296c5b3f58ab631e368bae1a
Set HEADERFLAGS_ALLOCATED centrally from headerLoad()
- requiring every caller to handle this separately, violating header type
  opaqueness in the process, doesn't seem that bright an idea
- also fix a memleak on signature header read in case of failure
lib/header.c
lib/package.c
lib/rpmdb.c
lib/signature.c