stats: fix memory leaks

Type: fix
Fixes: 72e31bc2d9
Fixes: db02380
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I92a62bb1cb799e8fdc3ec4110ae3428825254f8a
Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
Ole Troan
2022-02-01 12:10:40 +01:00
committed by Damjan Marion
parent fdbafb8ca1
commit 291307e427
2 changed files with 67 additions and 34 deletions

View File

@ -68,7 +68,6 @@ class StatsClientTestCase(VppTestCase):
p.append(packet)
self.send_and_expect(self.pg0, p, self.pg1)
pg1_tx = self.statistics.get_counter('/interfaces/pg1/tx')
if_tx = self.statistics.get_counter('/if/tx')