mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fully initialize ManifestItems (rollback, etc, was uninitialized before!).
This commit is contained in:
parent
b6a83a1494
commit
8cf088ae27
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ static void parseManifest(const char *fname)
|
|||
if (!item) {
|
||||
infof("Next manifest item: %s", buf);
|
||||
|
||||
item = (ManifestItem *) malloc(sizeof (ManifestItem));
|
||||
item = (ManifestItem *) calloc(1, sizeof (ManifestItem));
|
||||
if (!item) {
|
||||
outOfMemory();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue