update thread pool test to use new pool_free syntax

This commit is contained in:
Anthony Minessale 2017-01-25 17:13:23 -06:00
parent a4acfbd16b
commit b97e44ff3b
1 changed files with 1 additions and 1 deletions

View File

@ -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_log(KS_LOG_DEBUG, "Thread %d\n", mydata->i);
ks_sleep(100000); ks_sleep(100000);
ks_pool_free(mydata->pool, mydata); ks_pool_free(mydata->pool, &mydata);
return NULL; return NULL;
} }