9menu.c: Resource leak: fp

Bug #479042 reported by dcb
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
9menu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: 9menu

For the package 9menu, source code file 9menu.c,
line 278 is the source code

  fp = fopen(filename, "r");

but I fail to find a matching call to fclose. This looks
like a resource leak to me. Suggest add call to fclose
near the end of the block.

Revision history for this message
Daniel Echeverry (epsilon77) wrote :

Hi.

This bug is solved in version 1.8-5

Regards
Daniel Echeverry

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package 9menu - 1.8-5

---------------
9menu (1.8-5) unstable; urgency=low

  * Fix resource leak:fp LP: #479042
    + New patch 07_remove-resource-leak.diff
 -- Dave Walker <email address hidden> Sun, 20 Feb 2011 02:05:02 +0000

Changed in 9menu (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.