]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_sorcery_memory_cache.c: Fix memory leak (#56)
authorzhengsh <zhengsh@ti-net.com.cn>
Thu, 11 May 2023 20:21:57 +0000 (04:21 +0800)
committerGitHub <noreply@github.com>
Thu, 11 May 2023 20:21:57 +0000 (14:21 -0600)
commitc8ce2c705dd3703996855b49603eede6c9ae5fe8
tree2bd9361875e663e8b326a9d97863b32fc91bcaab
parentf414815159b91e3d6862ddb06f85aecf9eeb787a
res_sorcery_memory_cache.c: Fix memory leak (#56)

Replace the original call to ast_strdup with a call to ast_strdupa to fix the leak issue.

Resolves: #55
ASTERISK-30429
res/res_sorcery_memory_cache.c