From 0d6bfc3f86d6a9d1a8b701367ba1cf9a64cf5dcd Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 26 Oct 2015 14:57:34 +0000 Subject: [PATCH] Closed a memory leak with error opening audio input of CUE sheet. Coverity CID 21820. --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/structure.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index c625fc33..efe59406 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2015.10.26.145305" +#define Cdrskin_timestamP "2015.10.26.145941" diff --git a/libburn/trunk/libburn/structure.c b/libburn/trunk/libburn/structure.c index 69d52926..0ec38d76 100644 --- a/libburn/trunk/libburn/structure.c +++ b/libburn/trunk/libburn/structure.c @@ -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) {