netlink_init.c: Memory leak

Found by `-fsanitize=address`.
This commit is contained in:
Michael Cook
2021-02-27 09:15:38 -08:00
parent 2520d111da
commit 414d3794fd
5 changed files with 12 additions and 0 deletions
+1
View File
@@ -803,6 +803,7 @@ int main ( int argc, char **argv )
}
}
pdcp_module_cleanup();
terminate_opt();
logClean();
printf("Bye.\n");
+1
View File
@@ -834,6 +834,7 @@ int main( int argc, char **argv ) {
if (PHY_vars_UE_g[0][0]->rfdevice.trx_end_func)
PHY_vars_UE_g[0][0]->rfdevice.trx_end_func(&PHY_vars_UE_g[0][0]->rfdevice);
pdcp_module_cleanup();
terminate_opt();
logClean();
printf("Bye.\n");