From 76f1c218bd84e44666c5a0ae54d543dbce42c376 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Mon, 21 Feb 2011 16:30:01 -0800 Subject: [PATCH] ovsdb: Free "error" string in ovsdb_execute_insert(). Coverity #10723 --- ovsdb/execution.c | 1 + 1 file changed, 1 insertion(+) 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."); -- 2.30.2