mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 13:44:16 +00:00
[Core] Fix possible leak of the subclass variable in CUSTOM_HASH'es switch_event_reserve_subclass_detailed().
This commit is contained in:
1 parent
d32e7f1973
commit
8dd27183f8
3 files changed
+18
-1
No files matched your search
@@ -71,6 +71,11 @@ struct switch_network_list {
|
||||
char *name;
|
||||
};
|
||||
|
||||
SWITCH_DECLARE(void *) switch_calloc(size_t nmemb, size_t size)
|
||||
{
|
||||
return calloc(nmemb, size);
|
||||
}
|
||||
|
||||
#ifndef WIN32
|
||||
SWITCH_DECLARE(int) switch_inet_pton(int af, const char *src, void *dst)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user