I'm trying to free a char pointer, and I see the below behaviour

Case 1:

int main()
{
char *oneLineTerm;
free(oneLineTerm);
printf("freed memory"); /* Not printed */
}