From 429fed00c1b49072670e687bcc491e8d0dff8d2c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 8 Nov 2013 09:51:33 +0000 Subject: [PATCH] Closed potential memory leak introduced by rev 5168 --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/write.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 3e38919..41cb3da 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2013.10.28.104957" +#define Cdrskin_timestamP "2013.11.08.095023" diff --git a/libburn/write.c b/libburn/write.c index e8d69c4..29358ca 100644 --- a/libburn/write.c +++ b/libburn/write.c @@ -1364,6 +1364,8 @@ int burn_disc_init_write_status(struct burn_write_opts *o, burn_track_set_fillup(t, 1); d->was_feat21h_failure = 0; + if(d->write_opts != NULL) + burn_write_opts_free(d->write_opts); ret = burn_write_opts_clone(o, &(d->write_opts), 0); if (ret <= 0) return ret;