diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-04-07 08:34:36 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-04-07 08:34:36 +0200 |
commit | f61ebb80f7db6db7653cc4f973d7501d1dfdc071 (patch) | |
tree | 22268d4b3e275e524072e51802c93d80cd827d5f /bin/tools | |
parent | 73dc98c51aafb5cd0491ccf46219fb60a9338ff1 (diff) | |
download | libuca-f61ebb80f7db6db7653cc4f973d7501d1dfdc071.tar.gz libuca-f61ebb80f7db6db7653cc4f973d7501d1dfdc071.tar.bz2 libuca-f61ebb80f7db6db7653cc4f973d7501d1dfdc071.tar.xz libuca-f61ebb80f7db6db7653cc4f973d7501d1dfdc071.zip |
Fix some minor memory leaks
Diffstat (limited to 'bin/tools')
-rw-r--r-- | bin/tools/grab.c | 2 |
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); |