mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-25 21:31:37 +00:00
Missing free() in error path.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1986 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0c3e0673f0
commit
9c94c9577c
1 changed files with 1 additions and 0 deletions
|
@ -231,6 +231,7 @@ bsp_t *BSP_LoadModel(cluster_t *cluster, char *gamedir, char *bspname)
|
|||
if (data[0] != 29)
|
||||
{
|
||||
Sys_Printf(cluster, "BSP not version 29\n", bspname, gamedir);
|
||||
free(data);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue