1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

* rt/tst-timer2.c: New file.

* rt/Makefile (tests): Add it.
This commit is contained in:
Roland McGrath
2003-07-29 09:32:03 +00:00
parent 172ce013bd
commit a7f6c66ec3
9 changed files with 93 additions and 12 deletions

View File

@@ -178,7 +178,10 @@ timer_create (clock_id, evp, timerid)
if (thread != NULL)
__timer_thread_dealloc (thread);
if (newtimer != NULL)
__timer_dealloc (newtimer);
{
timer_delref (newtimer);
__timer_dealloc (newtimer);
}
}
pthread_mutex_unlock (&__timer_mutex);