Skip to content

pw-monitor: Fix incorrect free of RAppInfo

Benjamin Berg requested to merge benzea/fix-incorrect-free-of-app-info into master

The application information is owned by the RAppMonitor object and is kept alive as long as the cgroup exists. The pipewire monitor code has (as all other code) no business in trying to free it.

Remove the free and also make the function static so it cannot be used from other files.

Merge request reports

Loading