Signed-off-by: Mike Holmes <mike.hol...@linaro.org> --- platform/linux-generic/odp_linux.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/platform/linux-generic/odp_linux.c b/platform/linux-generic/odp_linux.c index 67ad05c..a471dd6 100644 --- a/platform/linux-generic/odp_linux.c +++ b/platform/linux-generic/odp_linux.c @@ -140,6 +140,7 @@ void odph_linux_pthread_join(odph_linux_pthread_t *thread_tbl, int num) for (i = 0; i < num; i++) { /* Wait thread to exit */ pthread_join(thread_tbl[i].thread, NULL); + pthread_attr_destroy(&thread_tbl[i].attr); free(thread_tbl[i].start_args); } -- 2.1.0 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp