Add log_fini() function to release all memory allocated by logging framework

This is e.g. quite useful to call at the end of test code, in order to
show that all memory allocated actually is released before exit().
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index e51487b..3193411 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -214,6 +214,7 @@
 	   int line, int cont, const char *format, ...)
 				__attribute__ ((format (printf, 6, 7)));
 int log_init(const struct log_info *inf, void *talloc_ctx);
+void log_fini(void);
 int log_check_level(int subsys, unsigned int level);
 
 /* context management */