X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ftransaction.c;h=e785e216d23071fb6d87fea2b5e2cf65a1b9381c;hb=41792464296d4ea9393adff3eea7bef514655cba;hp=23d5eebe184259fda228ea1dd71b4b1558a3e4c6;hpb=6910a6e6f25f7fe7adfd93c8405671e72d4d156b;p=openvswitch diff --git a/ovsdb/transaction.c b/ovsdb/transaction.c index 23d5eebe..e785e216 100644 --- a/ovsdb/transaction.c +++ b/ovsdb/transaction.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2010, 2011 Nicira Networks +/* Copyright (c) 2009, 2010, 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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);