[sr-dev] git:master:af9f95da: cplc: convert to memory error logging helper, add one missing free in error case