mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 17:31:08 +00:00
make LoadBSPFile own the memory for the bsp data
This commit is contained in:
parent
719ca15516
commit
db898655d1
1 changed files with 1 additions and 0 deletions
|
@ -258,6 +258,7 @@ LoadBSPFile (QFile *file, size_t size)
|
|||
buf = malloc (size);
|
||||
Qread (file, buf, size);
|
||||
bsp = LoadBSPMem (buf, size);
|
||||
bsp->own_header = 1;
|
||||
return bsp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue