From ffe310e1e4ba0a63bb7559fdaa4372afa030b6c9 Mon Sep 17 00:00:00 2001 From: gunnar_g Date: Wed, 15 Apr 2009 14:31:14 +0000 Subject: [PATCH] Fix valgrind warnings --- src/xml_loadsave_fixtures.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xml_loadsave_fixtures.c b/src/xml_loadsave_fixtures.c index caadb006..ab6a6bda 100644 --- a/src/xml_loadsave_fixtures.c +++ b/src/xml_loadsave_fixtures.c @@ -27,6 +27,7 @@ #include "fixture.h" #include "misc.h" #include "team.h" +#include "variables.h" #include "xml.h" #include "xml_loadsave_fixtures.h" @@ -203,6 +204,7 @@ xml_loadsave_fixtures_read(const gchar *filename, GArray *fixtures) } fixtures_array = fixtures; + statp = fixtures; if(g_markup_parse_context_parse(context, file_contents, length, &error)) {