From 104d1669a344de413ea4c7f1106fcf4a5d95b610 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 26 Oct 2001 00:59:36 +0000 Subject: semaphore.c (sem_init): somehow when sem_t reverted to an opaque struct the calloc NULL check was left in the conditionally included section. (sem_destroy): Likewise, the calloced sem_t wasn't being freed. --- ChangeLog | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 93d5d80..2e27f6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,7 +5,10 @@ * semaphore.c (sem_init): Fix typo and missing bracket in conditionally compiled code. Only older versions of WinCE require this code, hence it doesn't normally get - tested. + tested; somehow when sem_t reverted to an opaque struct + the calloc NULL check was left in the conditionally included + section. + (sem_destroy): Likewise, the calloced sem_t wasn't being freed. 2001-10-25 Ross Johnson -- cgit v1.2.3