Fix a segfault

SVN revision: 34232
This commit is contained in:
titan 2008-04-10 00:53:39 +00:00 committed by titan
parent 168510994b
commit 0e8deec487
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ populate_images(Ewl_Widget *w, void *event, void *data)
printf("ERROR: Couldn't create thread!\n");
return;
}
pthread_detach(thumb_worker);
pthread_join(thumb_worker, NULL);
return;
}