git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix use-after-free error.
[sliver-openvswitch.git]
/
controller
/
controller.c
diff --git
a/controller/controller.c
b/controller/controller.c
index
dcffee4
..
ff3f8cf
100644
(file)
--- a/
controller/controller.c
+++ b/
controller/controller.c
@@
-174,8
+174,8
@@
main(int argc, char *argv[])
}
i++;
} else {
- lswitch_destroy(this->lswitch);
rconn_destroy(this->rconn);
+ lswitch_destroy(this->lswitch);
switches[i] = switches[--n_switches];
}
}