sim-se: Fix invalid delete of params on clone

The params pointer is kept by the SimObject and should not be deleted
until gem5 exits. Added a to do to remember this object is leaked.

Change-Id: I46cc23a09e4e9b6bc2fdcd961148324c41820815
Signed-off-by: Jason Lowe-Power <>
Tested-by: kokoro <>
Maintainer: Brandon Potter <>
Reviewed-by: Brandon Potter <>
1 file changed