Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Valgrind testcase 2349 (ovn -- DSCP marking check) reports the leak below: 21 bytes in 21 blocks are definitely lost in loss record 24 of 362 at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x436FD4: xmalloc (util.c:120) by 0x437044: xmemdup0 (util.c:150) by 0x408C97: add_manager_options (ovsdb-server.c:709) by 0x408C97: query_db_remotes (ovsdb-server.c:765) by 0x408C97: reconfigure_remotes (ovsdb-server.c:926) by 0x406273: main_loop (ovsdb-server.c:194) by 0x406273: main (ovsdb-server.c:434) When options are freed, options->role need to be freed explicitly. Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
- Loading branch information