[Bug 479042] [NEW] 9menu.c: Resource leak: fp

dcb dcb314 at hotmail.com
Mon Nov 9 10:20:35 UTC 2009


Public bug reported:

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.

** Affects: 9menu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
9menu.c: Resource leak: fp
https://bugs.launchpad.net/bugs/479042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list