Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: gdbus/watch.c

Issue 3137021: fix memory leak in flimflam dbus support (Closed) Base URL: ssh://git@chromiumos-git//flimflam.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdbus/watch.c
diff --git a/gdbus/watch.c b/gdbus/watch.c
index 45dc367fdb1e69e4f5d0ee8d8d25d8e0e6c837a3..4dcba08014f2077801fa500e43554cd55c72b1f2 100644
--- a/gdbus/watch.c
+++ b/gdbus/watch.c
@@ -386,7 +386,7 @@ static void check_service(DBusConnection *connection, const char *name,
goto done;
}
- dbus_pending_call_set_notify(call, service_reply, data, NULL);
+ dbus_pending_call_set_notify(call, service_reply, data, g_free);
done:
dbus_message_unref(message);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698