From 071313e56eaf1449204db64bcf5ecaf0f0e8c55c Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Wed, 12 May 2010 12:30:27 +0000 Subject: [PATCH] 2010-05-12 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiosrv.c ! fixed yet another typo located by Aleksander Czajczyki which caused internal error (hb_xfree() with NULL pointer) --- harbour/ChangeLog | 5 +++++ harbour/contrib/hbnetio/netiosrv.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 430b79c8da..80065adc60 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-05-12 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbnetio/netiosrv.c + ! fixed yet another typo located by Aleksander Czajczyki which + caused internal error (hb_xfree() with NULL pointer) + 2010-05-12 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiosrv.c ! fixed typo in NETIO_SRVSTATUS() - -2 was always returned diff --git a/harbour/contrib/hbnetio/netiosrv.c b/harbour/contrib/hbnetio/netiosrv.c index 5dd19ae600..ff614ad530 100644 --- a/harbour/contrib/hbnetio/netiosrv.c +++ b/harbour/contrib/hbnetio/netiosrv.c @@ -1206,7 +1206,7 @@ HB_FUNC( NETIO_SERVER ) if( stream->id == iStreamID ) { conn->streams = stream->next; - hb_xfree( conn->streams ); + hb_xfree( stream ); } hb_threadMutexUnlock( conn->mutex ); }