Skip to content

Commit

Permalink
ovsdb-tool: Fix datum leak in the show-log command.
Browse files Browse the repository at this point in the history
Fixes: 4e92542 ("ovsdb-tool: Make "show-log" convert raw JSON to easier-to-read syntax.")
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Dumitru Ceara <dceara@redhat.com>
  • Loading branch information
igsilya committed Dec 21, 2020
1 parent 724532c commit af1a026
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ovsdb/ovsdb-tool.c
Expand Up @@ -471,6 +471,7 @@ print_db_changes(struct shash *tables, struct shash *names,
ds_init(&s);
ovsdb_datum_to_string(&datum, type, &s);
value_string = ds_steal_cstr(&s);
ovsdb_datum_destroy(&datum, type);
} else {
ovsdb_error_destroy(error);
}
Expand Down

0 comments on commit af1a026

Please sign in to comment.