Free unwittingly malloc'd memory.

This commit is contained in:
toaster 2018-07-06 23:59:05 +01:00
parent 5d342f32c8
commit 292b529c51
1 changed files with 2 additions and 0 deletions

View File

@ -2059,6 +2059,8 @@ static void Nextmap_OnChange(void)
if (mapheaderinfo[cv_nextmap.value-1] && mapheaderinfo[cv_nextmap.value-1]->forcecharacter[0] != '\0')
CV_Set(&cv_chooseskin, mapheaderinfo[cv_nextmap.value-1]->forcecharacter);
free(gpath);
}
}