The actual clearing is done by ZQ_ClearQuestPath() in zquest.cpp

filepath is a char* pointing to an empty string after a call to it completes.