Index: plugins/lib/read_image.c =================================================================== --- plugins/lib/read_image.c (revision 22191) +++ plugins/lib/read_image.c (working copy) @@ -49,4 +49,5 @@ return read_jpeg_fd(fd, bm, maxsize, format, cformat); else return scaled_read_bmp_fd(fd, bm, maxsize, format, cformat); + rb->close(fd); }