]> 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:02 +0000 (20:23 +0000)
commit5e16557127fb5e60a6d6b43357afcf663d1751d6
tree8a40edae0367b7d80bdcff75cbc3da5bab8095c8
parent573bdbe92416d2055e526f520bb9647c7b4f3925
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