commit | 409f79a2c73ccd7d314ecaf5234dada52834cbad | [log] [tgz] |
---|---|---|
author | Rob Bradford <rob@linux.intel.com> | Thu Jan 10 19:48:55 2013 +0000 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Jan 10 16:07:23 2013 -0500 |
tree | ffca573e5e2e5222e71d15a61969dc2e882c550c | |
parent | f0a1af9f0252842d67185d0bd1f2b2043b3f261a [diff] [blame] |
image: Free allocated memory on error path
diff --git a/clients/image.c b/clients/image.c index 6a2bda3..e25a665 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); return NULL; }