Fix commit d46b0b72
(didn't even compile with pthreads)
This commit is contained in:
parent
19614ab6dc
commit
0900cca4f5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue