smaller leakage (xml property, no wormhole)

This commit is contained in:
Enno Rehling 2005-05-08 00:36:11 +00:00
parent 71ee47751a
commit b59489466d
2 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,7 @@ xml_readconstruction(xmlXPathContextPtr xpath, xmlNodePtr * nodeTab, int nodeNr,
if (property!=NULL) {
pf_generic foo = get_function((const char*)property);
a_add(&con->attribs, make_skillmod(NOSKILL, SMF_PRODUCTION, (skillmod_fun)foo, 1.0, 0));
xmlFree(property);
}
}

View File

@ -172,6 +172,8 @@ create_wormholes(void)
r=r->next;
}
if (count<2) return;
match = (region**)malloc(sizeof(region*) * count);
rptr = rlist;
while (i!=count) {