Make rpmLeadRead() return an allocated lead, fixup callers
authorPanu Matilainen <Panu Matilainen pmatilai@redhat.com>
Wed, 6 Jul 2011 09:42:56 +0000 (12:42 +0300)
committerPanu Matilainen <Panu Matilainen pmatilai@redhat.com>
Wed, 6 Jul 2011 09:42:56 +0000 (12:42 +0300)
commitda53e0d66e70dc20762ef00b360783f6e818ee19
tree904e7571a10ce6f83654c5ef954cc2ee844a5a39
parent2a2979db51959368e8aecd1beafcbb9370aac10a
Make rpmLeadRead() return an allocated lead, fixup callers

- Requiring callers to allocate a lead "buffer" for reading into
  is just DUMB (greetings to self back in 2008, sigh). This avoids
  having to deal with freeing the lead in case the read failed, and
  allows getting rid of rpmLeadNew() completely.
lib/package.c
lib/rpmchecksig.c
lib/rpmlead.c
lib/rpmlead.h
sign/rpmgensig.c