summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-08 00:27:10 +0200
committerraveit65 <[email protected]>2020-07-29 16:46:12 +0200
commitd797a1d2ed72765c945970cbd68cb4cbd0597b83 (patch)
treedefabe77da3f7f9c40ceffb9392600ede68a9826
parentf012aebc3e281049b043890c4bf32efe44df2e10 (diff)
downloadmate-applets-d797a1d2ed72765c945970cbd68cb4cbd0597b83.tar.bz2
mate-applets-d797a1d2ed72765c945970cbd68cb4cbd0597b83.tar.xz
battstat: Fix memory leak
-rw-r--r--battstat/battstat_applet.c1
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);