commit | 68551c734860cc90aad639df00aa4bc958dbac0e | [log] [tgz] |
---|---|---|
author | Raphael Isemann <teemperor@gmail.com> | Tue Jan 23 13:50:46 2018 |
committer | Raphael Isemann <teemperor@gmail.com> | Tue Jan 23 13:50:46 2018 |
tree | ca3ad4df900c6b538681398588a491cdc175aa3f | |
parent | 9ef5f65f05b680583e3c8086524d3fe1d535c326 [diff] |
Fix memory leaks in GoParser Summary: The GoParser is leaking memory in the tests due to not freeing allocated nodes when encountering some parsing errors. With this patch all GoParser tests are passing with enabled memory sanitizers/ubsan. Reviewers: labath, davide Reviewed By: labath Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D42409 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@323197 91177308-0d34-0410-b5e6-96231b3b80d8