mesh: Fix memory leaks
authorSteve Grubb <sgrubb@redhat.com>
Fri, 14 May 2021 13:58:07 +0000 (09:58 -0400)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000 (19:08 +0530)
commitb4f010a57770bd1040253636c1f6ab814136a17f
treeac6e5ab88cda82b68ca2d1d2310d61eb9b4ac35b
parentfcfed45daca7efc1796159f1874ff9030a45f99f
mesh: Fix memory leaks

The dir variable needs to be closed before leaving.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
mesh/rpl.c