Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix leak of dpkg cache when dpkginfo_init is called multiple times
In the dpkginfo probe, the dpkg cache was allocated in dpkginfo_init. However, dpkginfo_init can be called multiple times, leading the cgCache pointer to be overridden and leaking the dpkg cache.
- Loading branch information