X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fperformance-thread%2Fpthread_shim%2Fmain.c;fp=examples%2Fperformance-thread%2Fpthread_shim%2Fmain.c;h=dab379aca38124090e163085de3d458a40761046;hb=de186103dacab38c4cb38af6c5665134ec183b37;hp=2f67c1bc4e912f24c572c646df22498a14425a0b;hpb=08def3afcb135364d25c71de26ccf0876e1b90fd;p=dpdk.git diff --git a/examples/performance-thread/pthread_shim/main.c b/examples/performance-thread/pthread_shim/main.c index 2f67c1bc4e..dab379aca3 100644 --- a/examples/performance-thread/pthread_shim/main.c +++ b/examples/performance-thread/pthread_shim/main.c @@ -211,6 +211,10 @@ static void initial_lthread(void *args __attribute__((unused))) printf("error on thread exit\n"); } + pthread_cond_destroy(&exit_cond); + pthread_mutex_destroy(&print_lock); + pthread_mutex_destroy(&exit_lock); + /* shutdown the lthread scheduler */ lthread_scheduler_shutdown(rte_lcore_id()); lthread_detach();