]> git.pond.sub.org Git - empserver/commitdiff
Fix commit d46b0b72 (didn't even compile with pthreads)
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 12 Sep 2008 22:05:25 +0000 (18:05 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 12 Sep 2008 22:05:58 +0000 (18:05 -0400)
src/lib/empthread/pthread.c

index 36abfb7a9a616690dcb2d055a1a183073ba5959c..854e03264bb6bf79789361431727e7eb7b7d5807 100644 (file)
@@ -257,7 +257,7 @@ void
 empth_set_name(empth_t *thread, char *name)
 {
     if (thread->name)
-       free(ctx_ptr->name);
+       free(thread->name);
     thread->name = strdup(name);
 }