Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovsdb: Fix asan warning on ovsdb fatal errors.
Calls to ovs_fatal from check_ovsdb_error would trigger an asan splat in the ci. This is a harmless memory leak as the process would always immediately terminate anyways. ==245041==ERROR: LeakSanitizer: detected memory leaks Direct leak of 32 byte(s) in 1 object(s) allocated from: 0 in malloc 1 in xmalloc__ lib/util.c:141:15 2 in xmalloc lib/util.c:176:12 3 in ovsdb_error_valist lib/ovsdb-error.c:40:33 4 in ovsdb_error lib/ovsdb-error.c:55:13 5 in ovsdb_log_open ovsdb/log.c 6 in do_db_name ovsdb/ovsdb-tool.c:482:23 7 in ovs_cmdl_run_command__ lib/command-line.c:247:17 8 in main ovsdb/ovsdb-tool.c:82:5 Signed-off-by: Mike Pattrick <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information