mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 20:47:06 +00:00
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for libs/esl
This commit is contained in:
1 parent
939b949da4
commit
f0da2f2cd4
6 files changed
+62
-78
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user