Forgot to initialize the debug data.

This commit is contained in:
Moritz Bunkus 2003-12-21 10:03:43 +00:00
parent ef36a0d382
commit 3a491c1a86

View File

@ -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);
}