https://github.com/Broadcom-Network-Switching-Software/OpenBCM/blob/954b24280789d7b0028261a247f28fe7c63594c7/sdk-6.5.21/src/appl/diag/phymod/phymod_sdk_diag.c#L185-L191 'parse_arg_eq_done(&pt)' should be called to free memory before function return. Please refer the line#160 in previous function. https://github.com/Broadcom-Network-Switching-Software/OpenBCM/blob/954b24280789d7b0028261a247f28fe7c63594c7/sdk-6.5.21/src/appl/diag/phymod/phymod_sdk_diag.c#L159-L168
OpenBCM/sdk-6.5.21/src/appl/diag/phymod/phymod_sdk_diag.c
Lines 185 to 191 in 954b242
'parse_arg_eq_done(&pt)' should be called to free memory before function return.
Please refer the line#160 in previous function.
OpenBCM/sdk-6.5.21/src/appl/diag/phymod/phymod_sdk_diag.c
Lines 159 to 168 in 954b242