summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-stream-applet-icon.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-31 21:48:51 +0100
committerLuke from DC <[email protected]>2022-03-27 20:35:30 +0000
commit1166dd4fd6c0225209eee9493de52a08d4a744fe (patch)
tree6ff722220e36ca12c7b456489a95a772e144e82e /mate-volume-control/gvc-stream-applet-icon.c
parent2083f5e465facf28fe8fa9246ae4d2fe17d3fe10 (diff)
downloadmate-media-1166dd4fd6c0225209eee9493de52a08d4a744fe.tar.bz2
mate-media-1166dd4fd6c0225209eee9493de52a08d4a744fe.tar.xz
gvc-stream-applet-icon: fix memory leak
Diffstat (limited to 'mate-volume-control/gvc-stream-applet-icon.c')
-rw-r--r--mate-volume-control/gvc-stream-applet-icon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-volume-control/gvc-stream-applet-icon.c b/mate-volume-control/gvc-stream-applet-icon.c
index 99a32fa..d2b7337 100644
--- a/mate-volume-control/gvc-stream-applet-icon.c
+++ b/mate-volume-control/gvc-stream-applet-icon.c
@@ -763,6 +763,7 @@ gvc_stream_applet_icon_finalize (GObject *object)
icon = GVC_STREAM_APPLET_ICON (object);
g_strfreev (icon->priv->icon_names);
+ g_clear_pointer (&icon->priv->display_name, g_free);
g_signal_handlers_disconnect_by_func (gtk_settings_get_default (),
on_icon_theme_change,