projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c1b8fc
)
ovsdb: Free "error" string in ovsdb_execute_insert().
author
Justin Pettit
<jpettit@nicira.com>
Tue, 22 Feb 2011 00:30:01 +0000
(16:30 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Tue, 22 Feb 2011 17:40:00 +0000
(09:40 -0800)
Coverity #10723
ovsdb/execution.c
patch
|
blob
|
history
diff --git
a/ovsdb/execution.c
b/ovsdb/execution.c
index a96abfcaf959d6f463fb0f8b7348228ef34dddf1..e2f10cbb268187e3c93f862d7ee3c7e1547e20a8 100644
(file)
--- 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.");