summaryrefslogtreecommitdiff
path: root/applets/notification_area/system-tray/na-tray.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/system-tray/na-tray.c')
-rw-r--r--applets/notification_area/system-tray/na-tray.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/applets/notification_area/system-tray/na-tray.c b/applets/notification_area/system-tray/na-tray.c
index fee75dc8..df5c6791 100644
--- a/applets/notification_area/system-tray/na-tray.c
+++ b/applets/notification_area/system-tray/na-tray.c
@@ -161,13 +161,9 @@ static void
icon_tip_buffer_free (gpointer data,
gpointer userdata)
{
- IconTipBuffer *buffer;
-
- buffer = data;
+ IconTipBuffer *buffer = data;
g_free (buffer->text);
- buffer->text = NULL;
-
g_free (buffer);
}