On 10/27/2017 2:10 AM, Jasvinder Singh wrote:
> Malloc() function might returns NULL when memory allocation fails
> due to insufficient space. Therefore, check for handling memory allocation
> failure is added.
>
> Coverity issue: 198442,198444
> Fixes: 996cb153af06 ("app/testpmd: add commands for TM nodes and hierarchy
> commit")
>
> Signed-off-by: Jasvinder Singh <[email protected]>Reviewed-by: Ferruh Yigit <[email protected]>

