]> git.droids-corp.org - dpdk.git/blobdiff - examples/performance-thread/pthread_shim/main.c
examples/performance-thread: fix return sign
[dpdk.git] / examples / performance-thread / pthread_shim / main.c
index 2f67c1bc4e912f24c572c646df22498a14425a0b..dab379aca38124090e163085de3d458a40761046 100644 (file)
@@ -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();