Merge remote-tracking branch 'origin/fix-gnb-ue-memory-leaks' into integration_2024_w32

This commit is contained in:
Jaroslava Fiedlerova
2024-08-12 18:12:38 +02:00
90 changed files with 26 additions and 730 deletions
+3 -1
View File
@@ -461,7 +461,8 @@ int main(int argc, char **argv)
#define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#endif
// strdup to put the sring in the core file for post mortem identification
LOG_I(HW, "Version: %s\n", strdup(PACKAGE_VERSION));
char *pckg = strdup(PACKAGE_VERSION);
LOG_I(HW, "Version: %s\n", pckg);
PHY_vars_UE_g = malloc(sizeof(*PHY_vars_UE_g) * NB_UE_INST);
for (int inst = 0; inst < NB_UE_INST; inst++) {
@@ -597,6 +598,7 @@ int main(int argc, char **argv)
}
}
free(pckg);
return 0;
}