Eliminate ugly static conversion buffer on rpmdbAdd/Remove
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 2 Jun 2008 07:53:38 +0000 (10:53 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 2 Jun 2008 07:53:38 +0000 (10:53 +0300)
commitacab1c3999a4205ed43344c89c11818d9ba5093e
tree81028258ba33c3878b99704f6d3f608e3a7ad672
parentb8dea7798888cf79ef2a5f5558f974482e5f740d
Eliminate ugly static conversion buffer on rpmdbAdd/Remove
- dynamically allocate on heap when hex to binary conversion is done,
  add new parameter to td2key() to communicate this back to caller
- adjust rpmdbAdd+Remove to free key data if signalled by td2key()
lib/rpmdb.c