Closed dev-kumar-2204 closed 3 years ago
I wonder if its similar to #163. Thanks for the report.
Both code are more or less same. In my case there is no SIGABRT. But address sanitizer(-fsanitize=address) complains about memory leak.
I see the problem - found it by code inspection while chasing an address sanitizer warning. PR filed.
Hi Below code produces memory leak issue while compiling with address_sanitizer flag.
StackTrace st; st.load_here(32); Printer p; p.object = true; p.color_mode = ColorMode::always; p.address = true; p.print(st, stderr); // This is issue line
Appreciate any help to remove this issue. Thanks