Closed a memory leak with error opening audio input of CUE sheet. Coverity CID 21820.
This commit is contained in:
parent
8ba554a60d
commit
2b82095236
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2015.10.26.145305"
|
#define Cdrskin_timestamP "2015.10.26.145941"
|
||||||
|
@ -1426,7 +1426,7 @@ static int cue_open_audioxtr(char *path, struct burn_cue_file_cursor *crs,
|
|||||||
|
|
||||||
ret= libdax_audioxtr_new(&xtr, path, 0);
|
ret= libdax_audioxtr_new(&xtr, path, 0);
|
||||||
if (ret <= 0)
|
if (ret <= 0)
|
||||||
return ret;
|
goto ex;
|
||||||
libdax_audioxtr_get_id(xtr, &fmt, &fmt_info, &num_channels,
|
libdax_audioxtr_get_id(xtr, &fmt, &fmt_info, &num_channels,
|
||||||
&sample_rate, &bits_per_sample, &msb_first, 0);
|
&sample_rate, &bits_per_sample, &msb_first, 0);
|
||||||
if ((flag & 255) == 1) {
|
if ((flag & 255) == 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user