Skip to content

panel-plugin/title/windowck-title.c: fix memory leak on title change

Arkadiy Illarionov requested to merge qarkai/xfce4-windowck-plugin:github into master

It seems the memory is allocated on every title change and never gets freed. Glib says to use g_malloc() with g_free() (used below) and it seems switching to g_malloc() fixes the memory leak.

Refs https://github.com/cedl38/xfce4-windowck-plugin/issues/30

Signed-off-by: Mateusz Gozdek mgozdekof@gmail.com

Merge request reports