RNCFG: if we are going to overwrite the contents of a pointer, free these contents.