]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_sorcery_memory_cache.c: Fix memory leak
authorzhengsh <zhengsh@ti-net.com.cn>
Tue, 2 May 2023 19:12:38 +0000 (03:12 +0800)
committerzhengsh <zhengsh@ti-net.com.cn>
Thu, 11 May 2023 20:23:08 +0000 (20:23 +0000)
commit8abb29406309c084a904cfd07bd3faac25b1709e
treeadfef9e732d1d4077e155840a056b7faa3df9374
parent19973b73fdeb52597024c312575af059e31ec445
res_sorcery_memory_cache.c: Fix memory leak

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