update thread pool test to use new pool_free syntax
This commit is contained in:
parent
a4acfbd16b
commit
b97e44ff3b
|
@ -18,7 +18,7 @@ static void *test1_thread(ks_thread_t *thread, void *data)
|
|||
|
||||
ks_log(KS_LOG_DEBUG, "Thread %d\n", mydata->i);
|
||||
ks_sleep(100000);
|
||||
ks_pool_free(mydata->pool, mydata);
|
||||
ks_pool_free(mydata->pool, &mydata);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue