From 665303617614f3a85994c7b75bb7f2519afc68de 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/50a041083f2c6f9426e4a0ed3c10682633e1ccff Author: Stefan Seyfried Date: 2012-01-12 (Thu, 12 Jan 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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) {