Coverity #10723
---
 ovsdb/execution.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ovsdb/execution.c b/ovsdb/execution.c
index a96abfc..82c8752 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) {
+            free(error);
             return ovsdb_syntax_error(uuid_name, "duplicate uuid-name",
                                       "This \"uuid-name\" appeared on an "
                                       "earlier \"insert\" operation.");
-- 
1.7.1


_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Reply via email to