Reduce heap usage 69/215469/8
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 8 Oct 2019 10:13:14 +0000 (12:13 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 10 Oct 2019 12:51:46 +0000 (14:51 +0200)
commit929ad348aa2e43becd68ce59a82d80b13a4ce36f
tree8cc73afd9ecda22d3f9f0366a1b63042e4192a2d
parent82076809edf56498798d2a1190414fbe1bd6cfbc
Reduce heap usage

When *.so_info was writing, for TPK packages, a complete list of
packages and paths was built, to find a RPM package that contains the
file. Now only the list of files is kept in memory, and then RPM
database is iterated to find suitable package.

Change-Id: I779661de26afd959945d441ba5ad160c99a014b2
src/crash-manager/so-info.c