Commit 80d767ba authored by Led's avatar Led

0.8.7

parent f7666930
ver 0.8.7 (2003/9/3)
1) Fix a memory leak. When closing a interface, was called close() on the fd
instead of calling fclose() on the fp that was opened with fdopen().
ver 0.8.6 (2003/8/25) 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. 1) Fix a memory leak when a buffered existed, and a connection was unexpectedly closed, and i wasn't free'ing the buffer apropriatly.
......
...@@ -1713,7 +1713,7 @@ fi ...@@ -1713,7 +1713,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE=mpd PACKAGE=mpd
VERSION=0.8.6 VERSION=0.8.7
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
......
AC_INIT(main.c) AC_INIT(main.c)
AM_INIT_AUTOMAKE(mpd, 0.8.6) AM_INIT_AUTOMAKE(mpd, 0.8.7)
AC_PROG_CC AC_PROG_CC
AC_PROG_INSTALL AC_PROG_INSTALL
......
...@@ -94,7 +94,7 @@ void closeInterface(Interface * interface) { ...@@ -94,7 +94,7 @@ void closeInterface(Interface * interface) {
interface->open = 0; interface->open = 0;
if(close(interface->fd)) { if(fclose(interface->fp)) {
fprintf(stderr,"Error closing file pointer\n"); fprintf(stderr,"Error closing file pointer\n");
} }
......
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