Revert change done to avoid double memory allocation for ffdc data.
Earlier test was done with single proc which worked as expected but with multiple proc and multiple fork processes trying to read the ffdc data it is causing double free error and core dump.
Revert change done to avoid double memory allocation for ffdc data.
Earlier test was done with single proc which worked as expected but with multiple proc and multiple fork processes trying to read the ffdc data it is causing double free error and core dump.
Tested: root@p10bmc:/tmp# busctl tree xyz.openbmc_project.Dump.Manager
- /xyz
- /xyz/openbmc_project- /xyz/openbmc_project/dump |- /xyz/openbmc_project/dump/hostboot |
- /xyz/openbmc_project/dump/hostboot/entry | |- /xyz/openbmc_project/dump/hostboot/entry/20000001 | |- /xyz/openbmc_project/dump/hostboot/entry/20000002 | |- /xyz/openbmc_project/dump/hostboot/entry/20000003Change-Id: If38be58d9938b476ab39f35e69583fda28522cd4