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
net/sfc: allow to control the represented entity MAC address
[dpdk.git]
/
app
/
test
/
test_devargs.c
diff --git
a/app/test/test_devargs.c
b/app/test/test_devargs.c
index
1903671
..
1662128
100644
(file)
--- a/
app/test/test_devargs.c
+++ b/
app/test/test_devargs.c
@@
-43,8
+43,10
@@
test_args(const char *devargs, const char *layer, const char *args, const int n)
if ((int)kvlist->count != n) {
printf("rte_devargs_parse(%s) %s_str: %s kv number %u, not %d\n",
devargs, layer, args, kvlist->count, n);
+ rte_kvargs_free(kvlist);
return -1;
}
+ rte_kvargs_free(kvlist);
return 0;
}