summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2017-02-27 13:54:19 +0200
committerHanoh Haim <hhaim@cisco.com>2017-02-27 13:54:43 +0200
commit4c1281d050a898051d4d3a5ed10703be41d1880f (patch)
treeecff5e9f3ce621978fed5514b6971e58de0dd55d /src
parent3f7dea42eecf7c01538e23d5fb7d6227d9b8332e (diff)
fix trex-362
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/main_dpdk.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp
index 1e780979..af37e420 100644
--- a/src/main_dpdk.cpp
+++ b/src/main_dpdk.cpp
@@ -4074,12 +4074,14 @@ bool CGlobalTRex::Create(){
void CGlobalTRex::Delete(){
m_zmq_publisher.Delete();
- m_fl.Delete();
if (m_trex_stateless) {
delete m_trex_stateless;
m_trex_stateless = NULL;
}
+
+ m_fl.Delete();
+
}