projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115f1e4
)
ovsdb-idl: Fix memory leak.
author
Ben Pfaff
<blp@nicira.com>
Fri, 4 Dec 2009 23:06:26 +0000
(15:06 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 4 Dec 2009 23:08:07 +0000
(15:08 -0800)
lib/ovsdb-idl.c
patch
|
blob
|
history
diff --git
a/lib/ovsdb-idl.c
b/lib/ovsdb-idl.c
index beed251c1b7258c3163384d590796136cfb89c2a..121cc0eed65eaaa1c75505d93f6289bf41e594ae 100644
(file)
--- 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;
}
}