From 50a041083f2c6f9426e4a0ed3c10682633e1ccff Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Thu, 12 Jan 2012 19:12:08 +0100 Subject: [PATCH] tuxtxt: fix spurious segfault on repeated start --- lib/libtuxtxt/tuxtxt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libtuxtxt/tuxtxt.cpp b/lib/libtuxtxt/tuxtxt.cpp index 346210d4f..f1f070daa 100644 --- a/lib/libtuxtxt/tuxtxt.cpp +++ b/lib/libtuxtxt/tuxtxt.cpp @@ -1934,6 +1934,8 @@ int Init(int source) TTFShiftX = 0; TTFShiftY = -2; + pageinfo = NULL; + /* load config */ if ((conf = fopen(TUXTXTCONF, "rt")) == 0) {