diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index e342694..e983832 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -1700,12 +1700,16 @@ int Cdrtrack_add_to_session(struct CdrtracK *track, int trackno, */ { struct burn_track *tr; - struct burn_source *src= NULL, *fd_src= NULL; + struct burn_source *src= NULL; double padding,lib_padding; int ret,sector_pad_up; double fixed_size; int source_fd; +#ifdef Cdrskin_use_libburn_fifO + struct burn_source *fd_src= NULL; +#endif + track->trackno= trackno; tr= burn_track_create(); if(tr == NULL) @@ -1811,8 +1815,12 @@ int Cdrtrack_add_to_session(struct CdrtracK *track, int trackno, burn_session_add_track(session,tr,BURN_POS_END); ret= 1; ex: + +#ifdef Cdrskin_use_libburn_fifO if(fd_src!=NULL) burn_source_free(fd_src); +#endif + if(src!=NULL) burn_source_free(src); return(ret); diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 5bb1d90..60c1482 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2015.10.23.134310" +#define Cdrskin_timestamP "2015.10.23.135526"