commit | c9213e7353d7751370333b40f7a0b49b599ca0ef | [log] [tgz] |
---|---|---|
author | Rob Bradford <rob@linux.intel.com> | Fri Jul 26 16:29:41 2013 +0100 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Jul 30 11:04:58 2013 -0700 |
tree | 5cb757ef53a8151078f4c8b4e89942af555f586e | |
parent | 307e09ee34cce55c76014771afe50c0519a6d7ab [diff] |
image: Free filename saved into structure on error path
diff --git a/clients/image.c b/clients/image.c index cbd466c..1f3c77c 100644 --- a/clients/image.c +++ b/clients/image.c
@@ -373,6 +373,7 @@ if (!image->image) { fprintf(stderr, "could not find the image %s!\n", b); + free(image->filename); free(image); return NULL; }