From 9a456150bdbdfd737c1385e27b4d5be5da14198e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 4 Jul 2011 14:39:47 +0000 Subject: [PATCH] Avoiding to load speed descriptor list twice --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/spc.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 6071f919..b977106c 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.06.22.093127" +#define Cdrskin_timestamP "2011.07.04.143922" diff --git a/libburn/trunk/libburn/spc.c b/libburn/trunk/libburn/spc.c index 6b8333c8..b02027c6 100644 --- a/libburn/trunk/libburn/spc.c +++ b/libburn/trunk/libburn/spc.c @@ -781,6 +781,7 @@ void spc_getcaps(struct burn_drive *d) if (mmc_function_spy(d, "getcaps") <= 0) return; + burn_speed_descriptor_destroy(&(d->mdata->speed_descriptors), 1); spc_inquiry(d); spc_sense_caps(d); spc_sense_error_params(d);