O
orion30
I would like to know, if an allocated variable returning by a fuction is
unallocated automatically ?
If no how to proceed ?
Best regards
------------------------------------------------------------------------
In my case, I want to return aa. After the call of polit, is aa is
unallocated automatically ?
char * polit(char *expressions)
{
..
..
..
aa = (char *)malloc(strlen(Result)*sizeof(char)+1);
..
..
..
return(aa);
}
unallocated automatically ?
If no how to proceed ?
Best regards
------------------------------------------------------------------------
In my case, I want to return aa. After the call of polit, is aa is
unallocated automatically ?
char * polit(char *expressions)
{
..
..
..
aa = (char *)malloc(strlen(Result)*sizeof(char)+1);
..
..
..
return(aa);
}