cmake: no need to prepend prefix
[profile/ivi/automotive-message-broker.git] / ambd / glibmainloop.cpp
index ca8c194..f2f80ca 100644 (file)
@@ -11,6 +11,7 @@ GlibMainLoop::GlibMainLoop(int argc, char **argv)
 GlibMainLoop::~GlibMainLoop()
 {
        g_main_loop_quit(mainLoop);
+       g_main_loop_unref(mainLoop);
        //exit(0);
 }