[PD-dev] PD memory free on quit