loader.c:340]: (error) Resource leak: fptr
Bug #1749917 reported by
dcb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Atlas-C++ |
Invalid
|
Undecided
|
Unassigned |
Bug Description
fptr = fopen(filename, "rb");
if (fptr == NULL) {
return NULL;
}
header = libmd3_
if (header == NULL) {
return NULL;
}
Suggest add call to fclose(fptr) in final if.
Changed in atlas-cpp: | |
status: | New → Invalid |
To post a comment you must log in.
I can't find the code you've posted in the Atlas project. As far as I know we don't use libmd3.