[PATCH OLK-6.6 V1] pds_core: remove write-after-free of client_id