Mailinglist Archive: opensuse-bugs (6582 mails)

< Previous Next >
[Bug 531705] New: WindowMaker-applets-1.0-880.9: missing call to closedir
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 17 Aug 2009 06:08:31 -0600
  • Message-id: <bug-531705-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=531705


Summary: WindowMaker-applets-1.0-880.9: 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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just had a look at factory package WindowMaker-applets-1.0-880.9

For source code file wmmp3-0.12/mpg123ctl.c
around line 100 is the source code for the
function set_playlist.

I notice the following line of code

dp = opendir(directory);

but I fail to notice any matching call to closedir. This looks like a
resource leak to me. Suggest add a call to closedir.

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

< Previous Next >
This Thread
  • No further messages