Add paired cleanup routine for logmsg
diff --git a/stack/btu/btu_task.c b/stack/btu/btu_task.c
index ae0617a..fec9be3 100644
--- a/stack/btu/btu_task.c
+++ b/stack/btu/btu_task.c
@@ -462,6 +462,10 @@
   fixed_queue_unregister_dequeue(btu_oneshot_alarm_queue);
   fixed_queue_unregister_dequeue(btu_l2cap_alarm_queue);
 
+#if ( BT_USE_TRACES==TRUE )
+  module_clean_up(get_module(BTE_LOGMSG_MODULE));
+#endif
+
   bta_sys_free();
   btu_free_core();
 }