fork(1) download
  1. #include<stdlib.h>
  2. int main()
  3. {
  4. int array[100];
  5. free(array);
  6. return 0;
  7. }
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:7: error: attempt to free a non-heap object ‘array’ [-Werror=free-nonheap-object]
   free(array);
       ^
cc1: all warnings being treated as errors
stdout
Standard output is empty