From be99c02a8214017ba2eae3b04c6599029a0d3036 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 18 Feb 2016 12:31:05 +0100 Subject: [PATCH] fix valgrind report --- src/triggers/createunit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/triggers/createunit.c b/src/triggers/createunit.c index ef79d4300..45b67ec3a 100644 --- a/src/triggers/createunit.c +++ b/src/triggers/createunit.c @@ -104,6 +104,7 @@ static int createunit_read(trigger * t, struct storage *store) else { result = AT_READ_FAIL; } + // read_reference(&td->f, store, read_faction_reference, resolve_faction); read_reference(&td->r, store, read_region_reference, RESOLVE_REGION(global.data_version)); td->race = (const struct race *)read_race_reference(store).v;