resolved memory leak issue introduced in 0.9

This commit is contained in:
darkeye 2002-04-09 13:10:43 +00:00
parent 35d21539b6
commit 17bf419804
5 changed files with 17 additions and 4 deletions

View File

@ -11,4 +11,6 @@ with contributions by:
Michael Smith, <msmith@labyrinth.net.au> Michael Smith, <msmith@labyrinth.net.au>
Julius O. Smith, <jos@ccrma.stanford.edu> Julius O. Smith, <jos@ccrma.stanford.edu>
the OSALP team, http://osalp.sourceforge.net the OSALP team, http://osalp.sourceforge.net
Kristjan G. Bjarnason <kgb@gangverk.is>
Nicu Pavel <npavel@ituner.com>

View File

@ -1,3 +1,9 @@
09-04-2001: DarkIce 0.9.1 released
o bugfix: a memory leak was introduced in 0.9, which is fixed thanks to
Kristjan G. Bjarnason <kgb@gangverk.is> and Nicu Pavel <npavel@ituner.com>
o minor documentation fix
28-03-2002: DarkIce 0.9 released 28-03-2002: DarkIce 0.9 released
o added possibility to simply read from the soundcard, encode, and o added possibility to simply read from the soundcard, encode, and

View File

@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/DarkIce.cpp) AC_INIT(src/DarkIce.cpp)
AM_INIT_AUTOMAKE(darkice, 0.9) AM_INIT_AUTOMAKE(darkice, 0.9.1)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)

View File

@ -36,7 +36,7 @@ Summary : DarkIce live IceCast / ShoutCast streamer
Name: darkice Name: darkice
Vendor: Tyrell Hungary Vendor: Tyrell Hungary
Packager: Akos Maroy <darkeye@tyrell.hu> Packager: Akos Maroy <darkeye@tyrell.hu>
Version: 0.9 Version: 0.9.1
Release: 1 Release: 1
Copyright: GPL Copyright: GPL
Group: Applications/Multimedia Group: Applications/Multimedia
@ -97,6 +97,9 @@ make clean
# =================================================================== change log # =================================================================== change log
# #
# $Log$ # $Log$
# Revision 1.13 2002/04/09 13:10:43 darkeye
# resolved memory leak issue introduced in 0.9
#
# Revision 1.12 2002/03/28 17:11:18 darkeye # Revision 1.12 2002/03/28 17:11:18 darkeye
# added file AUTHORS to set of distributed files # added file AUTHORS to set of distributed files
# #

View File

@ -78,8 +78,7 @@ CastSink :: init ( TcpSocket * socket,
int bufferSize = bitRate ? (bitRate * 1024 / 8) * bufferDuration int bufferSize = bitRate ? (bitRate * 1024 / 8) * bufferDuration
: (128 * 1024 / 8) * bufferDuration; : (128 * 1024 / 8) * bufferDuration;
bufferedSink = socket ? new BufferedSink( socket, bufferedSink = socket ? new BufferedSink( socket, bufferSize)
(bufferSize * 1024 / 8) * bufferDuration)
: 0; : 0;
} }
@ -146,6 +145,9 @@ CastSink :: open ( void ) throw ( Exception )
$Source$ $Source$
$Log$ $Log$
Revision 1.9 2002/04/09 13:10:43 darkeye
resolved memory leak issue introduced in 0.9
Revision 1.8 2002/03/28 16:40:55 darkeye Revision 1.8 2002/03/28 16:40:55 darkeye
slight changes to allow for variable bitrate streams slight changes to allow for variable bitrate streams
(where the value of bitrate is 0) (where the value of bitrate is 0)