psmisc/psmisc-22.6-fdleak.patch

11 lines
247 B
Diff

--- 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)