acpitool: ac_adapter.cpp: missing call to fclose

Bug #480677 reported by dcb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acpitool (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

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.