summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/jpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index f9dcf2a63d..fee24d1082 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -1829,6 +1829,7 @@ int main(char* filename)
1829 if (grayscales < 33 || buf_size <= 0) 1829 if (grayscales < 33 || buf_size <= 0)
1830 { 1830 {
1831 rb->splash(HZ*2, true, "gray buf error"); 1831 rb->splash(HZ*2, true, "gray buf error");
1832 rb->close(fd);
1832 return PLUGIN_ERROR; 1833 return PLUGIN_ERROR;
1833 } 1834 }
1834 1835