From 3a491c1a86b8ee8dc0038faede8c5c2021dffd5b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 21 Dec 2003 10:03:43 +0000 Subject: [PATCH] Forgot to initialize the debug data. --- src/common/common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/common.cpp b/src/common/common.cpp index f85f0a582..251101661 100644 --- a/src/common/common.cpp +++ b/src/common/common.cpp @@ -1192,6 +1192,7 @@ void debug_c::enter(const char *label) { if (entry == NULL) { entry = (debug_data_t *)safemalloc(sizeof(debug_data_t)); + memset(entry, 0, sizeof(debug_data_t)); entry->label = label; entries.push_back(entry); }