X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fpxdg.c;h=aa61e037366711533c3242a482bc3a7a86cb6178;hb=04db0d226d48cb3b0df79745af3260be0279267b;hp=ff6f9ed9cbdca1e4878a1e042afc679f202bfe2e;hpb=403b3cfa333b05c7943f6777f8b15a4ba62b0093;p=psensor.git diff --git a/src/pxdg.c b/src/pxdg.c index ff6f9ed..aa61e03 100644 --- a/src/pxdg.c +++ b/src/pxdg.c @@ -123,8 +123,8 @@ int pxdg_is_autostarted() ret = is_user_desktop_autostarted(kfile); else ret = -1; + g_key_file_free(kfile); } - g_key_file_free(kfile); } free(user_desktop);