Skip to content

Commit a9f3b00

Browse files
committed
Remove from the correct list
Fixes #92 Signed-off-by: Simo Sorce <simo@redhat.com>
1 parent aeaa802 commit a9f3b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gp_workers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ void gp_workers_free(struct gp_workers *w)
189189
while (w->busy_list) {
190190
/* pick threads one by one */
191191
t = w->busy_list;
192-
LIST_DEL(w->free_list, t);
192+
LIST_DEL(w->busy_list, t);
193193

194194
/* wake up threads, then join them */
195195
/* ======> COND_MUTEX */

0 commit comments

Comments
 (0)