From c7f7adb70cb34bb568f9b6327d6adb945326e029 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 21 Jan 2010 10:51:37 -0800 Subject: [PATCH] ovsdb-idl: Fix use-after-free error in ovsdb_idl_txn_delete(). --- lib/ovsdb-idl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index 4f547330..7ba0fd68 100644 --- a/lib/ovsdb-idl.c +++ b/lib/ovsdb-idl.c @@ -1229,6 +1229,7 @@ ovsdb_idl_txn_delete(struct ovsdb_idl_row *row) assert(!row->prereqs); hmap_remove(&row->table->idl->txn->txn_rows, &row->txn_node); free(row); + return; } if (hmap_node_is_null(&row->txn_node)) { hmap_insert(&row->table->idl->txn->txn_rows, &row->txn_node, -- 2.30.2