ovsdb: Fix ovsdb-server crash when specifying nonexistent file.
authorBen Pfaff <blp@nicira.com>
Tue, 23 Mar 2010 22:38:37 +0000 (15:38 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 24 Mar 2010 23:52:07 +0000 (16:52 -0700)
commit271915d3877ab9d74836a986cb2eb483071f048b
tree813d11dbbd1141fc373820ffd59356456e391165
parent9cb0788702e6187eafccabba0758095ced04552c
ovsdb: Fix ovsdb-server crash when specifying nonexistent file.

ovsdb_file_open__() can call (NULL) in its error exit
path, but ovsdb_schema_destroy() didn't tolerate a null pointer argument.

Bug #2538.
ovsdb/ovsdb.c