Commit f7666930 authored by Led's avatar Led

0.8.6

parent dc4fba44
ver 0.8.6 (2003/8/25)
1) Fix a memory leak when a buffered existed, and a connection was unexpectedly closed, and i wasn't free'ing the buffer apropriatly.
ver 0.8.5 (2003/8/17)
1) Fix a bug where an extra end of line is returned when attempting to play a
non existing file. This causes parsing errors for clients.
......
......@@ -1713,7 +1713,7 @@ fi
# Define the identity of the package.
PACKAGE=mpd
VERSION=0.8.5
VERSION=0.8.6
cat >>confdefs.h <<_ACEOF
......
AC_INIT(main.c)
AM_INIT_AUTOMAKE(mpd, 0.8.5)
AM_INIT_AUTOMAKE(mpd, 0.8.6)
AC_PROG_CC
AC_PROG_INSTALL
......
......@@ -399,7 +399,7 @@ void flushInterfaceBuffer(Interface * interface) {
}
else if(errno!=EAGAIN && errno!=EINTR) {
/* cause interface to close */
free(interface->bufferList);
freeList(interface->bufferList);
interface->bufferList = NULL;
interface->expired = 1;
}
......@@ -434,7 +434,7 @@ void interfacePrintWithFD(int fd,char * buffer) {
if(interfaces[i].outputBufferSize>interface_max_output_buffer_size) {
fprintf(stderr,"output buffer size (%lli) is larger than the max (%lli)\n",interfaces[i].outputBufferSize,interface_max_output_buffer_size);
/* cause interface to close */
free(interfaces[i].bufferList);
freeList(interfaces[i].bufferList);
interfaces[i].bufferList = NULL;
interfaces[i].expired = 1;
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment