projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
431e057
)
vswitch: Fix memory leak in error path.
author
Ben Pfaff
<blp@nicira.com>
Mon, 9 Mar 2009 20:12:54 +0000
(13:12 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 9 Mar 2009 20:13:30 +0000
(13:13 -0700)
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index bc4ebb0205bce1fa34f06ad1efa833960d1e61ba..d40d6594f2adeb2a6ed11affb135115155012253 100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-624,6
+624,7
@@
bridge_create(const char *name)
name, strerror(error));
dpif_delete(&br->dpif);
dpif_close(&br->dpif);
+ free(br);
return NULL;
}