free (static_array)

Top Page

Reply to this message
Author: Sajish V
Date:  
To: gcc
Subject: free (static_array)
Hi All,
Can you please let me know why GCC does not crib when we try to free a static array?
main ()
{
     char array[100];
     free (array);
}
The above code compiles without any hitch.
Thanks,
Sajish.