diff options
Diffstat (limited to 'libvncserver/font.c')
-rw-r--r-- | libvncserver/font.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libvncserver/font.c b/libvncserver/font.c index a9091d2..9935e91 100644 --- a/libvncserver/font.c +++ b/libvncserver/font.c @@ -174,6 +174,7 @@ rfbFontDataPtr rfbLoadConsoleFont(char *filename) if(1!=fread(p->data,4096,1,f)) { free(p->data); free(p); + fclose(f); return NULL; } fclose(f); |