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>
Wed, 5 Jul 2017 21:15:13 +0000 (23:15 +0200)
commitd13c1762a8d0ae70253b9775237cee64d02fae3b
tree1799454548558c242148629e7cca7f5e50787fb0
parentbd43c6784fb53826806c7cb51a1ed54e95eb4be9
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