]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update thread pool test to use new pool_free syntax
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 25 Jan 2017 23:13:23 +0000 (17:13 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 25 Jan 2017 23:13:23 +0000 (17:13 -0600)
libs/libks/test/test_thread_pools.c

index 4e8b73d7866d3799bbe6a6377c7fd48bf89eac9a..4934357139abea470a485061a7f30dcec9e8b111 100644 (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_sleep(100000);
-       ks_pool_free(mydata->pool, mydata);
+       ks_pool_free(mydata->pool, &mydata);
        return NULL;
 }