MLDisownSymbol()
void MLDisownSymbol(MLINK link, char *s) disowns memory allocated by MLGetSymbol() or MLGetFunction() to store the character string s corresponding to the name of a symbol.
See The Mathematica Book: Section 2.12.4 and Section 2.12.4.