Fix commit d46b0b72 (didn't even compile with pthreads)

This commit is contained in:
Markus Armbruster 2008-09-12 18:05:25 -04:00
parent 19614ab6dc
commit 0900cca4f5

View file

@ -257,7 +257,7 @@ void
empth_set_name(empth_t *thread, char *name) empth_set_name(empth_t *thread, char *name)
{ {
if (thread->name) if (thread->name)
free(ctx_ptr->name); free(thread->name);
thread->name = strdup(name); thread->name = strdup(name);
} }