projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a7196e
)
dpif-netdev: Fix memory leak.
author
Ben Pfaff
<blp@nicira.com>
Wed, 21 May 2014 00:07:56 +0000
(17:07 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 21 May 2014 23:50:31 +0000
(16:50 -0700)
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/dpif-netdev.c
patch
|
blob
|
history
diff --git
a/lib/dpif-netdev.c
b/lib/dpif-netdev.c
index
881b6c4
..
87d1eb5
100644
(file)
--- a/
lib/dpif-netdev.c
+++ b/
lib/dpif-netdev.c
@@
-821,6
+821,7
@@
port_unref(struct dp_netdev_port *port)
for (i = 0; i < n_rxq; i++) {
netdev_rxq_close(port->rxq[i]);
}
+ free(port->rxq);
free(port->type);
free(port);
}