aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-03-06 16:52:50 -0600
committerTed Gould <ted@gould.cx>2012-03-06 16:52:50 -0600
commitbe2eef52dad67332388bb47b75b2918d58025211 (patch)
tree89b117367d2ac12321e3c6f49b8b51678b80cd5d /src
parentf39aac0cbf9a9b78c202830f60d7d5ff69ab3f3c (diff)
downloadlibayatana-appindicator-be2eef52dad67332388bb47b75b2918d58025211.tar.gz
libayatana-appindicator-be2eef52dad67332388bb47b75b2918d58025211.tar.bz2
libayatana-appindicator-be2eef52dad67332388bb47b75b2918d58025211.zip
Removing unneeded NULL check
Diffstat (limited to 'src')
-rw-r--r--src/app-indicator.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index c2ed7d0..41f0a05 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -1632,9 +1632,7 @@ status_icon_changes (AppIndicator * self, gpointer data)
gtk_status_icon_set_from_icon_name(icon, icon_name);
}
- if (longname) {
- g_free(longname);
- }
+ g_free(longname);
}
}