Skip to content

Commit

Permalink
mpipl: Release cpu data memory in free reserved memory path
Browse files Browse the repository at this point in the history
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
Vasant Hegde authored and oohal committed Feb 12, 2020
1 parent eebee39 commit 457f963
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/opal-dump.c
Expand Up @@ -344,6 +344,8 @@ static int64_t opal_mpipl_update(enum opal_mpipl_ops ops,
/* Release memory */
free(opal_mpipl_data);
opal_mpipl_data = NULL;
free(opal_mpipl_cpu_data);
opal_mpipl_cpu_data = NULL;
/* Clear MDRT table */
memset((void *)MDRT_TABLE_BASE, 0, MDRT_TABLE_SIZE);
/* Set MDRT count to max allocated count */
Expand Down

0 comments on commit 457f963

Please sign in to comment.