diff options
author | Ben Pfaff <blp@nicira.com> | 2011-06-22 13:50:18 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-06-22 14:00:39 -0700 |
commit | 714110ded6ec9d0924ac05eb60c578d758536523 (patch) | |
tree | d9630135571225a87fbbef9bc58a2a62202c6414 /ovsdb | |
parent | 317dadd6208aa7221dbd225c82a0fc5c98d33534 (diff) |
ovsdb: Fix memory leak in transaction.
Diffstat (limited to 'ovsdb')
-rw-r--r-- | ovsdb/transaction.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |