char * string; string = my_foo(); // Do stuff free(string);