Closed a memory leak with error opening audio input of CUE sheet. Coverity CID 21820.

This commit is contained in:
Thomas Schmitt 2015-10-26 14:57:34 +00:00
parent 8ba554a60d
commit 2b82095236
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2015.10.26.145305"
#define Cdrskin_timestamP "2015.10.26.145941"

View File

@ -1426,7 +1426,7 @@ static int cue_open_audioxtr(char *path, struct burn_cue_file_cursor *crs,
ret= libdax_audioxtr_new(&xtr, path, 0);
if (ret <= 0)
return ret;
goto ex;
libdax_audioxtr_get_id(xtr, &fmt, &fmt_info, &num_channels,
&sample_rate, &bits_per_sample, &msb_first, 0);
if ((flag & 255) == 1) {