Skip to content
Snippets Groups Projects
Verified Commit ed249626 authored by Amin Ben Romdhane's avatar Amin Ben Romdhane Committed by IOPSYS Dev
Browse files

Fix bbfdm cleanup order

parent c6bac710
No related branches found
No related tags found
1 merge request!34Fix bbfdm_cleanup order
Pipeline #206360 passed
......@@ -140,8 +140,6 @@ int main(int argc, char **argv)
uloop_run();
out:
bbfdm_ubus_regiter_free(&bbfdm_ctx);
#ifdef SYSMNGR_PROCESS_STATUS
sysmngr_process_clean(&bbfdm_ctx.ubus_ctx);
sysmngr_cpu_clean();
......@@ -159,6 +157,7 @@ out:
sysmngr_clean_fwbank_dump(&bbfdm_ctx.ubus_ctx);
#endif
bbfdm_ubus_regiter_free(&bbfdm_ctx);
closelog();
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment