Merge "Fix resource leak issue, memory not free"
This commit is contained in:
commit
c45eca2c2c
|
@ -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);
|
||||
|
|
|
@ -1590,6 +1590,7 @@ int daemon_run_testhead ( void )
|
|||
else
|
||||
PASSED ;
|
||||
}
|
||||
free(mtcInv_testhead_ptr);
|
||||
|
||||
printf (TESTHEAD_BAR);
|
||||
printf ("| Maintenance Timer Test Head\n");
|
||||
|
|
Loading…
Reference in New Issue