Mailinglist Archive: opensuse-bugs (7837 mails)

< Previous Next >
[Bug 536523] New: SDL-1.2.13-108.11: missing call to fclose
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 3 Sep 2009 05:32:07 -0600
  • Message-id: <bug-536523-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=536523


Summary: SDL-1.2.13-108.11: missing call to fclose
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 SDL-1.2.13-108.11

For source code file SDL-1.2.13/src/file/SDL_rwops.c
around line 460, function SDL_RWFromFile
is the following code

fp = fopen(file, mode);

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

--
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 >
Follow Ups