summaryrefslogtreecommitdiff
path: root/log
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2016-09-24 11:03:13 +0300
committerFelix Fietkau <nbd@nbd.name>2016-09-24 13:07:43 +0200
commite66233771c93b4ef712cb7b2c954d44edf2228dc (patch)
treee38c8a0652e96b07def0541a07cf338ddf9c5491 /log
parent4a039a46293c73811154f886bd0c1c891cb2e095 (diff)
downloadubox-e66233771c93b4ef712cb7b2c954d44edf2228dc.tar.gz
ubox/logd: free ubus context on exit
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'log')
-rw-r--r--log/logd.c1
1 files changed, 1 insertions, 0 deletions
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;
}