Merge "Fix resource leak issue, memory not free"

This commit is contained in:
Zuul 2018-10-22 14:39:56 +00:00 committed by Gerrit Code Review
commit c45eca2c2c
2 changed files with 3 additions and 0 deletions

View File

@ -2059,6 +2059,8 @@ int daemon_run_testhead ( void )
else
PASSED ;
}
free(hbsInv_testhead_ptr);
printf (TESTHEAD_BAR);
printf ("| Heartbeat Service Test Head\n");
printf (TESTHEAD_BAR);

View File

@ -1590,6 +1590,7 @@ int daemon_run_testhead ( void )
else
PASSED ;
}
free(mtcInv_testhead_ptr);
printf (TESTHEAD_BAR);
printf ("| Maintenance Timer Test Head\n");