diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | condvar.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2001-05-31 Ross Johnson <rpj@setup1.ise.canberra.edu.au>
+
+ * condvar.c (pthread_cond_init): free memory when init fails.
+
2001-05-30 Ross Johnson <rpj@setup1.ise.canberra.edu.au>
* pthread.h (rand_r): Fake using _seed argument to quell
@@ -414,6 +414,8 @@ FAIL2: FAIL1: (void) sem_destroy (&(cv->sema)); + free(cv); + cv = NULL; FAIL0: DONE: |