diff options
author | rpj <rpj> | 2001-05-31 06:13:49 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-05-31 06:13:49 +0000 |
commit | 860ecc4c24475dc3d3efe0adc981071f2aaf1299 (patch) | |
tree | e447d4cf4fae9c73a16573e92a5e7577b6885102 | |
parent | a8744086b476e4007c1d8fc0fae84ecfcade99ba (diff) |
* condvar.c (pthread_cond_init): free memory when init fails.
-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: |