Closed Bojun-Seo closed 1 year ago
The expected result is wrong.
The expected result of sample.c
execution is report nothing.
Because sample.c
allocate and deallocate memory properly.
So, this is not an error.
I want simple leak generating sample, by the way.
So I add sample_leak.c
which doesn't deallocate memory after allocation.
https://github.com/honggyukim/heaptrace/pull/19
Expected result: Report printed for
sample.c
Sincesample.c
allocate memory withcalloc
but not deallocate it.Actual result: No report is printed for
sample.c