[LEDE-DEV] [PATCH 2/2] ubox/logd: free ubus context on exit

Alexandru Ardelean ardeleanalex at gmail.com
Sat Sep 24 01:03:13 PDT 2016


Signed-off-by: Alexandru Ardelean <ardeleanalex at gmail.com>
---
 log/logd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/log/logd.c b/log/logd.c
index 58a1dec..0175a5c 100644
--- a/log/logd.c
+++ b/log/logd.c
@@ -226,6 +226,7 @@ main(int argc, char **argv)
 	uloop_run();
 	log_shutdown();
 	uloop_done();
+	ubus_auto_shutdown(&conn);
 
 	return 0;
 }
-- 
1.9.1




More information about the Lede-dev mailing list