Free the return value of GFileDirname