X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fexecution.c;h=e2f10cbb268187e3c93f862d7ee3c7e1547e20a8;hb=71d7c22f54ae32d15133571e09ddf7ab435e8afa;hp=a96abfcaf959d6f463fb0f8b7348228ef34dddf1;hpb=2a022368f4b37559de5d5621a88c648023493f75;p=openvswitch diff --git a/ovsdb/execution.c b/ovsdb/execution.c index a96abfca..e2f10cbb 100644 --- a/ovsdb/execution.c +++ b/ovsdb/execution.c @@ -292,6 +292,7 @@ ovsdb_execute_insert(struct ovsdb_execution *x, struct ovsdb_parser *parser, symbol = ovsdb_symbol_table_insert(x->symtab, json_string(uuid_name)); if (symbol->used) { + ovsdb_error_destroy(error); return ovsdb_syntax_error(uuid_name, "duplicate uuid-name", "This \"uuid-name\" appeared on an " "earlier \"insert\" operation.");