Rearrange newRpmdb() a bit for clarity
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 13 Sep 2010 11:16:44 +0000 (14:16 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 13 Sep 2010 11:16:44 +0000 (14:16 +0300)
commitb0338657a85ae9e1c77d58b42363d23dde012550
treed6f4d98e9ec7e13644b18068e78b14b48812fcac
parentb6d8d0e7ed7989ce5e2d4d8133d81adc4072440c
Rearrange newRpmdb() a bit for clarity
- Avoid allocating the structure until we know its ok.
lib/rpmdb.c