From: Ben Pfaff Date: Wed, 22 Jun 2011 20:50:18 +0000 (-0700) Subject: ovsdb: Fix memory leak in transaction. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=714110ded6ec9d0924ac05eb60c578d758536523;p=openvswitch ovsdb: Fix memory leak in transaction. --- diff --git a/ovsdb/transaction.c b/ovsdb/transaction.c index 23d5eebe..08a8bc11 100644 --- a/ovsdb/transaction.c +++ b/ovsdb/transaction.c @@ -992,6 +992,7 @@ ovsdb_txn_table_destroy(struct ovsdb_txn_table *txn_table) for (i = 0; i < txn_table->table->schema->n_indexes; i++) { hmap_destroy(&txn_table->txn_indexes[i]); } + free(txn_table->txn_indexes); txn_table->table->txn_table = NULL; hmap_destroy(&txn_table->txn_rows);