]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rpmresolve.c: Fix unfreed pointers that keep DB opened
authorMariano Lopez <mariano.lopez@linux.intel.com>
Tue, 29 Dec 2015 10:25:02 +0000 (10:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Jan 2016 23:26:30 +0000 (23:26 +0000)
commiteda3947cf06252346dfd89f626b2560092219242
treeabde0f9dea0cb54db2a258c775a27760c761ad4e
parent3c8a45180f430416a47af434f7fdc7246ad89cf4
rpmresolve.c: Fix unfreed pointers that keep DB opened

There are some unfreed rpmmi pointers in printDepList()
function; this happens when the package have null as
the requirement.

This patch fixes these unfreed pointers and add small
changes to keep consistency with some variables.

[YOCTO #8028]

(From OE-Core rev: da7aa183f94adc1d0fff5bb81e827c584f9938ec)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c