app/testpmd: fix memory leak for TM object
authorJasvinder Singh <jasvinder.singh@intel.com>
Tue, 6 Nov 2018 10:23:06 +0000 (10:23 +0000)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 12 Nov 2018 16:45:31 +0000 (17:45 +0100)
commit8bf02b320e27ec27af12d345663f557b04a4c677
tree34a0a4ed278ea136b7185cc04317483399c85230
parentc44ae27a597aa1468f056f05662f81e81d9e2745
app/testpmd: fix memory leak for TM object

Fixes memory leak for shared shaper object of the traffic manager.

Fixes: 5b590fbe09b6 ("app/testpmd: add traffic management forwarding mode")
Cc: stable@dpdk.org
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/softnicfwd.c