projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0634c96
)
Fix memory leak in nl_sock_transact().
author
Ben Pfaff
<blp@nicira.com>
Tue, 13 Jan 2009 21:54:46 +0000
(13:54 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 13 Jan 2009 22:07:44 +0000
(14:07 -0800)
lib/netlink.c
patch
|
blob
|
history
diff --git
a/lib/netlink.c
b/lib/netlink.c
index 28c1f1163bb6c0e2a46526a550d579122aa93e93..131ed817e1018771078f1b73a078684fd03ee09b 100644
(file)
--- a/
lib/netlink.c
+++ b/
lib/netlink.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford
+/* Copyright (c) 2008
, 2009
The Board of Trustees of The Leland Stanford
* Junior University
*
* We are making the OpenFlow specification and associated documentation
@@
-414,6
+414,7
@@
recv:
goto recv;
}
if (nl_msg_nlmsgerr(reply, &retval)) {
+ ofpbuf_delete(reply);
if (retval) {
VLOG_DBG_RL(&rl, "received NAK error=%d (%s)",
retval, strerror(retval));