dpkg: fix CONFIG_FEATURE_CLEAN_UP handling
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 5 Jul 2017 09:53:58 +0000 (11:53 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 18 Jul 2017 17:20:58 +0000 (19:20 +0200)
commit80cb8796f86754faa1569994b9355eeffe0b7759
treeb1ab6c18968e93363a5ae93161a838549124f990
parentee67c9a60ab202cb8f8cc13d8670a90cbfad7963
dpkg: fix CONFIG_FEATURE_CLEAN_UP handling

dpkg moved to away from dynamically allocating the hashtables in commit
c87339d584 (dpkg: trivial code shrinkage, and redo G trick correctly) almost
ten years ago, but the cleanup code was never adjusted to match.

Glibc loudly complains about this:

*** Error in `dpkg': free(): invalid pointer: 0x0000007fac3478c0 ***

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/dpkg.c