summaryrefslogtreecommitdiff
path: root/src/info_console.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/info_console.cc')
-rw-r--r--src/info_console.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/info_console.cc b/src/info_console.cc
index 6acfd4f..a0ca236 100644
--- a/src/info_console.cc
+++ b/src/info_console.cc
@@ -41,10 +41,12 @@
InfoConsole::InfoConsole(): Info()
{
+ pthread_mutex_init (&mutex, NULL);
}
InfoConsole::~InfoConsole()
{
+ pthread_mutex_destroy(&mutex);
}
void InfoConsole::error(char *fmt, ...)