diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-12-20 21:07:42 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2020-12-26 21:10:37 +0100 |
commit | ef3cfb329d7cbf9b66375fc699b9841cbb9ad4a4 (patch) | |
tree | 57e2c5caed51db781238fc0e8f6ce76e62b5b682 | |
parent | 4f9e9b7e0095a9758bc228bc17921e2eaac35067 (diff) | |
download | tracker-ef3cfb329d7cbf9b66375fc699b9841cbb9ad4a4.tar.gz |
libtracker-sparql: Plug leak
The error should be freed here, the function above does not take
ownership.
-rw-r--r-- | src/libtracker-sparql/tracker-endpoint-dbus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libtracker-sparql/tracker-endpoint-dbus.c b/src/libtracker-sparql/tracker-endpoint-dbus.c index 2418aa03a..b8bf3c604 100644 --- a/src/libtracker-sparql/tracker-endpoint-dbus.c +++ b/src/libtracker-sparql/tracker-endpoint-dbus.c @@ -446,6 +446,7 @@ update_cb (GObject *object, res, &error); if (error) { g_dbus_method_invocation_return_gerror (request->invocation, error); + g_error_free (error); } else { g_dbus_method_invocation_return_value (request->invocation, NULL); } |