diff options
Diffstat (limited to 'apps/plugins/jpeg.c')
| -rw-r--r-- | apps/plugins/jpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index f9dcf2a..fee24d1 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c @@ -1829,6 +1829,7 @@ int main(char* filename) if (grayscales < 33 || buf_size <= 0) { rb->splash(HZ*2, true, "gray buf error"); + rb->close(fd); return PLUGIN_ERROR; } |