fix for darkice segfault when using fileAddDate = yes, thanks to Claude

This commit is contained in:
rafael@riseup.net 2010-07-20 16:02:06 +00:00
parent 3d3422f9b9
commit 83cb1cad86
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_INIT(darkice, 1.0) AC_INIT(darkice, 1.0.1)
AC_CONFIG_SRCDIR(src/DarkIce.cpp) AC_CONFIG_SRCDIR(src/DarkIce.cpp)
AM_CONFIG_HEADER(src/config.h) AM_CONFIG_HEADER(src/config.h)

View File

@ -348,7 +348,7 @@ DarkIce :: configIceCast ( const Config & config,
} }
} }
if ( fileAddDate ) { if ( fileAddDate ) {
delete[] localDumpFile; delete[] localDumpName;
} }
} }
// streaming related stuff // streaming related stuff