Martin Ettl <ettl DOT martin AT gmx DOT de>: Fix various resource and memory leaks
[reactos.git] / reactos / base / applications / tsclient / rdesktop / printercache.c
index 38b38bb..c2d39bf 100644 (file)
@@ -180,6 +180,7 @@ printercache_load_blob(char *printer_name, uint8 ** data)
        if (fstat(fd, &st))
        {
                xfree(path);
+               close(fd);
                return 0;
        }