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.