From 7ecd4b03dd8056b8c69058d2dbf50a7eb4cacd60 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 4 Dec 2009 15:06:26 -0800 Subject: [PATCH] ovsdb-idl: Fix memory leak. --- lib/ovsdb-idl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index beed251c..121cc0ee 100644 --- a/lib/ovsdb-idl.c +++ b/lib/ovsdb-idl.c @@ -497,6 +497,7 @@ ovsdb_idl_row_clear_fields(struct ovsdb_idl_row *row) for (i = 0; i < class->n_columns; i++) { ovsdb_datum_destroy(&row->fields[i], &class->columns[i].type); } + free(row->fields); row->fields = NULL; } } -- 2.30.2