File psmisc-22.6-fdleak.patch of Package psmisc

--- src/fuser.c
+++ src/fuser.c	2008-09-01 15:03:05.000000000 +0200
@@ -1404,6 +1404,7 @@ void fill_unix_cache(struct unixsocket_l
 		*unixsocket_head = newsocket;
 	} /* while */
 
+	fclose(fp);
 }
 
 static inline int isnetfs(const char * type)
@@ -1650,6 +1651,7 @@ static void scan_knfsd(struct names *nam
        }
 
     }
+    fclose(fp);
 }
 #endif /* NFSCHECKS */
 
openSUSE Build Service is sponsored by