FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for libs/esl

This commit is contained in:
Andrey Volk committed 2019-07-18 21:27:04 +04:00
1 parent 939b949da4
commit f0da2f2cd4
6 files changed
+62 -78

No files matched your search

+1 -3
View File
@@ -126,9 +126,7 @@ esl_status_t esl_thread_create_detached_ex(esl_thread_function_t func, void *dat
#endif
fail:
if (thread) {
free(thread);
}
free(thread);
done:
return status;
}