Menu

#168 cue2toc.c: resource leak

open
nobody
None
5
2009-10-24
2009-10-24
dcb
No

I just had a look at the cdrdao-1.2.2-310.14 package.

For the source code file cdrdao-1.2.2/utils/cue2toc.c,
function read_cue, around line 340 is the source code

} else if (NULL == (f = fopen(cuefile, "r"))) {

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

Discussion


Log in to post a comment.