ubox/logd: free ubus context on exit
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Sat, 24 Sep 2016 08:03:13 +0000 (11:03 +0300)
committerFelix Fietkau <nbd@nbd.name>
Sat, 24 Sep 2016 11:07:43 +0000 (13:07 +0200)
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
log/logd.c

index 58a1dec4a3d4b4ce1b2f169d058448ffda91df8e..0175a5cc3bf07e0671b096a8ee409b2204e612e5 100644 (file)
@@ -226,6 +226,7 @@ main(int argc, char **argv)
        uloop_run();
        log_shutdown();
        uloop_done();
+       ubus_auto_shutdown(&conn);
 
        return 0;
 }