diff options
author | rbuj <[email protected]> | 2020-07-08 00:27:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-29 16:46:12 +0200 |
commit | d797a1d2ed72765c945970cbd68cb4cbd0597b83 (patch) | |
tree | defabe77da3f7f9c40ceffb9392600ede68a9826 | |
parent | f012aebc3e281049b043890c4bf32efe44df2e10 (diff) | |
download | mate-applets-d797a1d2ed72765c945970cbd68cb4cbd0597b83.tar.bz2 mate-applets-d797a1d2ed72765c945970cbd68cb4cbd0597b83.tar.xz |
battstat: Fix memory leak
-rw-r--r-- | battstat/battstat_applet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c index 189443f2..e951c71c 100644 --- a/battstat/battstat_applet.c +++ b/battstat/battstat_applet.c @@ -748,6 +748,7 @@ destroy_applet( GtkWidget *widget, ProgressData *battstat ) g_object_unref( G_OBJECT(battstat->status) ); g_object_unref( G_OBJECT(battstat->percent) ); + g_object_unref (battstat->settings); static_global_teardown (battstat); |