testvalgrind2.c 96 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 #include <stdlib.h> int main() { char a[10]; a[10] = 'c'; free(a); return 0; }