[PATCH 6.6 50/60] net: pds_core: Fix possible double free in error handling path