diff options
author | Justin Pettit <jpettit@nicira.com> | 2011-02-21 16:30:01 -0800 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2011-02-22 09:40:00 -0800 |
commit | 76f1c218bd84e44666c5a0ae54d543dbce42c376 (patch) | |
tree | 054850da4d83e849cb1e41361b0093fcf9c51a5f /ovsdb | |
parent | 4c1b8fc2e514344a55789d6ac9909ce904137578 (diff) | |
download | openvswitch-76f1c218bd84e44666c5a0ae54d543dbce42c376.tar.gz |
ovsdb: Free "error" string in ovsdb_execute_insert().
Coverity #10723
Diffstat (limited to 'ovsdb')
-rw-r--r-- | ovsdb/execution.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ovsdb/execution.c b/ovsdb/execution.c index a96abfcaf..e2f10cbb2 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."); |