diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend_libjpeg.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend_libjpeg.c b/src/backend_libjpeg.c index c9d70df..e67f8e1 100644 --- a/src/backend_libjpeg.c +++ b/src/backend_libjpeg.c @@ -33,10 +33,7 @@ static void free_private(void *raw_private) if (private->fd >= 0) { munmap(private->data, private->len); close(private->fd); - } else { - free(private->data); } - private->data = NULL; free(private); } |