https://github.com/Broadcom-Network-Switching-Software/OpenBCM/blob/954b24280789d7b0028261a247f28fe7c63594c7/sdk-6.5.21/src/appl/test/tabledma.c#L1812 'parse_arg_eq_done(&pt)' should be called to free memory before function return. The problem also happens at https://github.com/Broadcom-Network-Switching-Software/OpenBCM/blob/954b24280789d7b0028261a247f28fe7c63594c7/sdk-6.5.21/src/appl/test/tabledma.c#L1816 https://github.com/Broadcom-Network-Switching-Software/OpenBCM/blob/954b24280789d7b0028261a247f28fe7c63594c7/sdk-6.5.21/src/appl/test/tabledma.c#L1828 Suggest to write same code style before exiting the function LOG_ERROR(BSL_LS_APPL_TESTS, (BSL_META_U(unit, xxxx, ....); // log the error rv = xx; // set proper return value goto exit;
OpenBCM/sdk-6.5.21/src/appl/test/tabledma.c
Line 1812 in 954b242
'parse_arg_eq_done(&pt)' should be called to free memory before function return.
The problem also happens at
OpenBCM/sdk-6.5.21/src/appl/test/tabledma.c
Line 1816 in 954b242
OpenBCM/sdk-6.5.21/src/appl/test/tabledma.c
Line 1828 in 954b242
Suggest to write same code style before exiting the function