hackers-painters/katana-parser

find mem leak by valgrind

tedflowermoon opened this issue · 2 comments

hi:
I have used the parser tool, and it is very cool. It help me very much.
I found a problem when I used valgrind to test it, and find mem leak. It is show in pic below:

image

I try to find it, but I am not good at it. So, I hope you and help me.

Yours
Thanks.

qfish commented

Thank you , I will have a try with valgrind !

I found a possible memory leak indicated by Xcode's static analysis but I haven't yet had time to examine the logic to make sure any fix would keep the expected behaviors.

katana_mem_leak