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
Catalli's threaded switch
[sliver-openvswitch.git]
/
ovsdb
/
ovsdb.c
diff --git
a/ovsdb/ovsdb.c
b/ovsdb/ovsdb.c
index
5bbaddb
..
4568376
100644
(file)
--- a/
ovsdb/ovsdb.c
+++ b/
ovsdb/ovsdb.c
@@
-58,6
+58,10
@@
ovsdb_schema_destroy(struct ovsdb_schema *schema)
{
struct shash_node *node;
+ if (!schema) {
+ return;
+ }
+
SHASH_FOR_EACH (node, &schema->tables) {
ovsdb_table_schema_destroy(node->data);
}