]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Fix memory leak when using testsolv to execute cases 499/head
authorbanjiuqingshan <63209634+banjiuqingshan@users.noreply.github.com>
Sat, 18 Jun 2022 17:43:51 +0000 (01:43 +0800)
committerGitHub <noreply@github.com>
Sat, 18 Jun 2022 17:43:51 +0000 (01:43 +0800)
commit9a361f5248557e032f15890aac54c0db53c52098
tree8592c166061f3cb52e9fa6b082adfbd8bac8a314
parent5e1ac6aaa91c6db34ff82ddc604a4c2483c3aaac
Fix memory leak when using testsolv to execute cases

*resultp will only keep the pointer of the last cycle, which will lead to memory leakage.
This solves the first memory leak problem in issue #496 "==255147==error..."
ext/testcase.c