forked from github/server
fix valgrind report
This commit is contained in:
parent
370338736c
commit
be99c02a82
|
@ -104,6 +104,7 @@ static int createunit_read(trigger * t, struct storage *store)
|
||||||
else {
|
else {
|
||||||
result = AT_READ_FAIL;
|
result = AT_READ_FAIL;
|
||||||
}
|
}
|
||||||
|
// read_reference(&td->f, store, read_faction_reference, resolve_faction);
|
||||||
read_reference(&td->r, store, read_region_reference,
|
read_reference(&td->r, store, read_region_reference,
|
||||||
RESOLVE_REGION(global.data_version));
|
RESOLVE_REGION(global.data_version));
|
||||||
td->race = (const struct race *)read_race_reference(store).v;
|
td->race = (const struct race *)read_race_reference(store).v;
|
||||||
|
|
Loading…
Reference in New Issue