plug a potential (though unlikely) memory leak

This commit is contained in:
Bill Currie 2007-10-13 11:32:10 +00:00 committed by Jeff Teunissen
parent 5c73d81e00
commit c04d9ef8c2

View file

@ -474,9 +474,9 @@ ED_LoadFromFile (progs_t *pr, const char *data)
Script_UngetToken (script);
entity_list = ED_ConvertToPlist (pr, script);
}
Script_Delete (script);
ED_SpawnEntities (pr, entity_list);
}
Script_Delete (script);
}
VISIBLE void