http://bugzilla.novell.com/show_bug.cgi?id=534766 Summary: ibmrtpkgs-2-10.12: missing call to closedir Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package ibmrtpkgs-2-10.12 For source code file ibmrtpkgs-2/rt-watchdog/rt-watchdog.c around line 190, function get_realtime_info is the following code DIR *dir = opendir("/proc"); but I fail to find any matching call to closedir in the following code info = pi = prev; while (pi) { fill_procinfo(pi); /* while we are looping catch the max time */ if (pi->cputime > info->cputime) { info = pi; } pi = pi->next; } This looks like a resource leak to me. Suggest add call to closedir after the while. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.