@easyteacher
Copy link

easyteacher commented Mar 21, 2022

When repeating calling the function, the krunner process's memory consumption keeps getting larger and larger. The leak is gone when commenting out the function.

Heaptrack result: heaptrack.tar.gz

Information for package libAppStreamQt2:

Repository : unstable-kde-frameworks
Name : libAppStreamQt2
Version : 0.15.1-ku.84.1
Arch : x86_64
Vendor : obs://build.opensuse.org/KDE:Unstable
Installed Size : 274.1 KiB
Installed : Yes
Status : up-to-date
Source package : AppStream-0.15.1-ku.84.1.src
Upstream URL : https://www.freedesktop.org/software/appstream/docs/
Summary : Qt5 bindings for AppStream