--- a/common/modules.cpp
+++ b/common/modules.cpp
@@ -34,6 +34,10 @@
     assert(instance == NULL);
 
     instance = this;
+}
+
+modules::protocols::~protocols()
+{
 }
 
 modules::sipwitch::sipwitch() :