summaryrefslogtreecommitdiffstats
path: root/bin/tools/grab.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2018-06-26 15:58:58 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2018-06-26 15:58:58 +0200
commitd53c878fdbcaf0cc4708f64724df90568b445119 (patch)
treef927b4a4861fe411386abbfdc0049976b6789aad /bin/tools/grab.c
parentbed3076bc6146ec3ed6ba404655ce0bd06173566 (diff)
downloaduca-d53c878fdbcaf0cc4708f64724df90568b445119.tar.gz
uca-d53c878fdbcaf0cc4708f64724df90568b445119.tar.bz2
uca-d53c878fdbcaf0cc4708f64724df90568b445119.tar.xz
uca-d53c878fdbcaf0cc4708f64724df90568b445119.zip
Fix a few minor leaks
Diffstat (limited to 'bin/tools/grab.c')
-rw-r--r--bin/tools/grab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/tools/grab.c b/bin/tools/grab.c
index 43367cd..97a5baa 100644
--- a/bin/tools/grab.c
+++ b/bin/tools/grab.c
@@ -223,6 +223,7 @@ record_frames (UcaCamera *camera, Options *opts)
break;
}
+ g_free (fmt_string);
elapsed = g_timer_elapsed (total_timer, NULL);
g_print ("\nTime total = %3.2f s => %3.2f f/s = %3.2f ms/f = %.4f MB/s\n",