X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Ftable.c;h=ff11e7816ffcdccaf8dcd98dee1346a4f2636fc3;hb=ca261b65354f522ba43c823221763ca6f4604e2d;hp=86366d0dca90cdaf2bf3e6f1e5771901f585a01b;hpb=c6a4125250b97d41d18dbeeea13043a86e9b8f55;p=openvswitch diff --git a/lib/table.c b/lib/table.c index 86366d0d..ff11e781 100644 --- a/lib/table.c +++ b/lib/table.c @@ -23,6 +23,7 @@ #include "dynamic-string.h" #include "json.h" #include "ovsdb-data.h" +#include "ovsdb-error.h" #include "util.h" struct column { @@ -54,6 +55,7 @@ cell_to_text(struct cell *cell, const struct table_style *style) cell->text = ds_steal_cstr(&s); } else { cell->text = json_to_string(cell->json, JSSF_SORT); + ovsdb_error_destroy(error); } } } else {