Re: [ovs-dev] [PATCH 1/3] ovsdb-error: New function ovsdb_error_to_string_free().

2017-12-13 Thread Yifeng Sun
Thanks for the change. I also find that this new function can be applied in another place: diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index 1e0c20486e38..f9e4e529e32e 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -517,7 +517,7 @@ open_db(struct server_config

[ovs-dev] [PATCH 1/3] ovsdb-error: New function ovsdb_error_to_string_free().

2017-12-13 Thread Ben Pfaff
This allows slight code simplifications across the tree. Signed-off-by: Ben Pfaff --- lib/ovsdb-data.c | 5 ++--- lib/ovsdb-error.c| 29 +++-- lib/ovsdb-error.h| 3 ++- lib/ovsdb-idl.c | 9 +++-- ovsdb/file.c | 7 ++-