aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-06-16 21:35:50 -0500
committerTed Gould <ted@gould.cx>2011-06-16 21:35:50 -0500
commitea77e8e1f93a64397d73f4c369fd90f76db49f35 (patch)
tree504ca1662039ec4a83a7c25c64964277635a2c6e
parent4ffbe0b75f9476bc60c6d4bed408e363c3f3b3a7 (diff)
downloadlibayatana-appindicator-ea77e8e1f93a64397d73f4c369fd90f76db49f35.tar.gz
libayatana-appindicator-ea77e8e1f93a64397d73f4c369fd90f76db49f35.tar.bz2
libayatana-appindicator-ea77e8e1f93a64397d73f4c369fd90f76db49f35.zip
Free name if we get it
-rw-r--r--src/app-indicator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index a828113..bc08eea 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -1235,6 +1235,7 @@ bus_watcher_ready (GObject * obj, GAsyncResult * res, gpointer user_data)
g_object_unref(G_OBJECT(user_data));
return;
}
+ g_free(name);
/* g_object_unref(G_OBJECT(user_data)); */
/* Why is this commented out? Oh, wait, we don't want to