Fully initialize ManifestItems (rollback, etc, was uninitialized before!).

This commit is contained in:
Ryan C. Gordon 2017-06-01 17:17:25 -04:00
parent b6a83a1494
commit 8cf088ae27

View file

@ -399,7 +399,7 @@ static void parseManifest(const char *fname)
if (!item) { if (!item) {
infof("Next manifest item: %s", buf); infof("Next manifest item: %s", buf);
item = (ManifestItem *) malloc(sizeof (ManifestItem)); item = (ManifestItem *) calloc(1, sizeof (ManifestItem));
if (!item) { if (!item) {
outOfMemory(); outOfMemory();
} }