git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ipc: end multiprocess thread during cleanup
[dpdk.git]
/
lib
/
flow_classify
/
rte_flow_classify.c
diff --git
a/lib/flow_classify/rte_flow_classify.c
b/lib/flow_classify/rte_flow_classify.c
index
f125267
..
d3ba2ed
100644
(file)
--- a/
lib/flow_classify/rte_flow_classify.c
+++ b/
lib/flow_classify/rte_flow_classify.c
@@
-579,12
+579,12
@@
rte_flow_classify_table_entry_delete(struct rte_flow_classifier *cls,
&rule->u.key.key_del,
&rule->key_found,
&rule->entry);
&rule->u.key.key_del,
&rule->key_found,
&rule->entry);
-
+ if (ret == 0)
+ free(rule);
return ret;
}
}
}
return ret;
}
}
}
- free(rule);
return ret;
}
return ret;
}