-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ufd: fix memleak detected by mt_asan_check (#906)
Fix below fail: MTL: 2024-06-15 00:45:30, mt_asan_check, leak of 1624 byte(s) at 0x7fc17ff3b900 MTL: 2024-06-15 00:45:30, mt_asan_check, backtrace info: MTL: 2024-06-15 00:45:30, mt_asan_check, /lib/x86_64-linux-gnu/libasan.so.5(+0x6cd40) [0x7fc9823fdd40] MTL: 2024-06-15 00:45:30, mt_asan_check, /usr/local/lib/x86_64-linux-gnu/libmtl.so(mt_rte_zmalloc_socket+0x18a) [0x7fc981d07c69] MTL: 2024-06-15 00:45:30, mt_asan_check, /usr/local/lib/x86_64-linux-gnu/libmtl.so(+0x6ecbfe) [0x7fc982200bfe] MTL: 2024-06-15 00:45:30, mt_asan_check, /usr/local/lib/x86_64-linux-gnu/libmtl.so(+0x6ed322) [0x7fc982201322] MTL: 2024-06-15 00:45:30, mt_asan_check, /usr/local/lib/x86_64-linux-gnu/libmtl.so(mufd_socket_port+0x132) [0x7fc982201b26] MTL: 2024-06-15 00:45:30, mt_asan_check, /usr/local/lib/x86_64-linux-gnu/libmtl.so(mufd_socket+0x55) [0x7fc982202d20] MTL: 2024-06-15 00:45:30, mt_asan_check, ./build/app/UfdServerSample(+0x81f0) [0x559cc2cc11f0] MTL: 2024-06-15 00:45:30, mt_asan_check, /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fc981923083] MTL: 2024-06-15 00:45:30, mt_asan_check, ./build/app/UfdServerSample(+0x588e) [0x559cc2cbe88e] Signed-off-by: Frank Du <frank.du@intel.com> (cherry picked from commit b087f1f)
- Loading branch information
Showing
4 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters