summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2016-03-23 08:58:43 +0000
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2016-03-23 12:37:49 +0000
commit1194c23407f04153e541d4dc636e1dfa83786624 (patch)
tree4319c5f6f743d3d18dd010582633b7de0d822165
parentb754c05f344b9fb6cc15caf83e03465eb2ddf0b2 (diff)
downloadgeoclue-1194c23407f04153e541d4dc636e1dfa83786624.tar.gz
main: Remove stray semicolon
This fixes a memory leak on exit. Spotted by Coverity (CID: #78510). https://bugs.freedesktop.org/show_bug.cgi?id=94669
-rw-r--r--src/gclue-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gclue-main.c b/src/gclue-main.c
index 9872231..3e1416f 100644
--- a/src/gclue-main.c
+++ b/src/gclue-main.c
@@ -191,7 +191,7 @@ main (int argc, char **argv)
main_loop = g_main_loop_new (NULL, FALSE);
g_main_loop_run (main_loop);
- if (manager != NULL);
+ if (manager != NULL)
g_object_unref (manager);
g_bus_unown_name (owner_id);
g_main_loop_unref (main_loop);