mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
[Core] Fix possible leak of the subclass variable in CUSTOM_HASH'es switch_event_reserve_subclass_detailed().
This commit is contained in:
@@ -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