diff options
Diffstat (limited to 'camlibs/digigr8/library.c')
-rw-r--r-- | camlibs/digigr8/library.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camlibs/digigr8/library.c b/camlibs/digigr8/library.c index 609b17df6..6f647bbb1 100644 --- a/camlibs/digigr8/library.c +++ b/camlibs/digigr8/library.c @@ -289,6 +289,7 @@ get_file_func(CameraFilesystem *fs, const char *folder, const char *filename, p_data = malloc(w * h); if (!p_data) { status = GP_ERROR_NO_MEMORY; + free (ppm); goto end; } if(comp_ratio) { |