diff --git a/psmisc-22.6-fdleak.patch b/psmisc-22.6-fdleak.patch index 48303b7..8ae4c49 100644 --- a/psmisc-22.6-fdleak.patch +++ b/psmisc-22.6-fdleak.patch @@ -8,3 +8,11 @@ } static inline int isnetfs(const char * type) +@@ -1650,6 +1651,7 @@ static void scan_knfsd(struct names *nam + } + + } ++ fclose(fp); + } + #endif /* NFSCHECKS */ + diff --git a/psmisc.changes b/psmisc.changes index f7a550f..1376b98 100644 --- a/psmisc.changes +++ b/psmisc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 10 10:21:09 CEST 2009 - werner@suse.de + +- For future use fix fd leak reported by David Binderman (bnc#536209) + ------------------------------------------------------------------- Mon Aug 10 11:27:07 CEST 2009 - werner@suse.de diff --git a/psmisc.spec b/psmisc.spec index e98d2ad..2720cc2 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -27,7 +27,7 @@ Group: System/Monitoring PreReq: %fillup_prereq %insserv_prereq AutoReqProv: on Version: 22.7 -Release: 4 +Release: 5 Provides: ps:/usr/bin/killall Summary: Utilities for managing processes on your system Source: http://switch.dl.sourceforge.net/sourceforge/psmisc/psmisc-%{version}.tar.bz2