mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ovsdb-idl: Fix use-after-free error in ovsdb_idl_txn_delete().
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user