diff options
author | B. Bogart <bbogart@users.sourceforge.net> | 2009-04-24 02:27:11 +0000 |
---|---|---|
committer | B. Bogart <bbogart@users.sourceforge.net> | 2009-04-24 02:27:11 +0000 |
commit | da26fe26c4edb87378adca9555e36794323c752e (patch) | |
tree | 8873dbdf9147e961c3eb3125cabb234bd9bdbc9c /gphoto/gphoto.c | |
parent | 09ddef11b5e62b8bb252fe47ccfb87616f2f519f (diff) |
The makefile now includes debugging options by
default. Added an extra free() to (hopefully)
solve some mem leak problems.
svn path=/trunk/externals/bbogart/; revision=11108
Diffstat (limited to 'gphoto/gphoto.c')
-rw-r--r-- | gphoto/gphoto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gphoto/gphoto.c b/gphoto/gphoto.c index e1544cb..258d06b 100644 --- a/gphoto/gphoto.c +++ b/gphoto/gphoto.c @@ -691,6 +691,8 @@ void *captureImages(void *threadArgs) { close(fd); // close file descriptor + gp_file_free(camerafile); + // Send bang out 2nd outlet for each iteration. sys_lock(); outlet_bang(((gphoto_gimme_struct *)threadArgs)->gphoto->doneOutlet); |