summaryrefslogtreecommitdiffstats
path: root/bin/tools/grab.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-04-07 08:34:36 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-04-07 08:34:36 +0200
commitf61ebb80f7db6db7653cc4f973d7501d1dfdc071 (patch)
tree22268d4b3e275e524072e51802c93d80cd827d5f /bin/tools/grab.c
parent73dc98c51aafb5cd0491ccf46219fb60a9338ff1 (diff)
downloaduca-f61ebb80f7db6db7653cc4f973d7501d1dfdc071.tar.gz
uca-f61ebb80f7db6db7653cc4f973d7501d1dfdc071.tar.bz2
uca-f61ebb80f7db6db7653cc4f973d7501d1dfdc071.tar.xz
uca-f61ebb80f7db6db7653cc4f973d7501d1dfdc071.zip
Fix some minor memory leaks
Diffstat (limited to 'bin/tools/grab.c')
-rw-r--r--bin/tools/grab.c2
1 files changed, 2 insertions, 0 deletions
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);