Double-Free - Invalid free()
Call free() twice on the same pointer. MemC detects and explains the double-free error.
Try an example:
Your C code (must have main())
Controls
No memory to show yet
Click Run or Step to execute your code. The diagram will show where variables live: Stack (local vars), Heap (malloc blocks), and pointers between them.
Output (printf)
No output yet. Use printf("text") or printf("x = %d", x) to print.