From: divverent Date: Tue, 16 Dec 2008 13:30:47 +0000 (+0000) Subject: when loading a game, free "text" later X-Git-Tag: xonotic-v0.1.0preview~1998 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=25aee0e689d287cdf2605c69d506e0915f10f6d8;p=xonotic%2Fdarkplaces.git when loading a game, free "text" later git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8592 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index dabc5e22..1192f8e0 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -793,7 +793,6 @@ void Host_Loadgame_f (void) end = t; entnum++; } - Mem_Free(text); prog->num_edicts = entnum; sv.time = time; @@ -862,6 +861,7 @@ void Host_Loadgame_f (void) } } } + Mem_Free(text); if(developer_entityparsing.integer) Con_Printf("Host_Loadgame_f: finished\n");