From f61ebb80f7db6db7653cc4f973d7501d1dfdc071 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 7 Apr 2014 08:34:36 +0200 Subject: Fix some minor memory leaks --- bin/tools/grab.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/tools/grab.c') diff --git a/bin/tools/grab.c b/bin/tools/grab.c index 11f8a83..5825ce7 100644 --- a/bin/tools/grab.c +++ b/bin/tools/grab.c @@ -268,6 +268,8 @@ main (int argc, char *argv[]) if (error != NULL) g_print ("Error: %s\n", error->message); + g_option_context_free (context); + cleanup_camera: g_object_unref (camera); -- cgit v1.2.3