[Bug 480677] [NEW] acpitool: ac_adapter.cpp: missing call to fclose

dcb dcb314 at hotmail.com
Wed Nov 11 12:45:39 UTC 2009


Public bug reported:

Binary package hint: acpitool


For source code file acpitool-0.5/src/ac_adapter.cpp,
function Do_AC_Info_Sys, line 206
is the source code 

 FILE *power_fp = fopen(filename[i], "r");

but I fail to find a matching call to fclose. Suggest add one.

** Affects: acpitool (Ubuntu)
     Importance: Undecided
         Status: New

-- 
acpitool: ac_adapter.cpp: missing call to fclose
https://bugs.launchpad.net/bugs/480677
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