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