trace: Free symbols on program exit
This makes valgrind memleak checks with CONFIG_WPA_TRACE=y somewhat cleaner. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
8bcf8de827
commit
6136d43b8e
3 changed files with 10 additions and 0 deletions
|
@ -372,6 +372,7 @@ void os_program_deinit(void)
|
|||
if (total)
|
||||
wpa_printf(MSG_INFO, "MEMLEAK: total %lu bytes",
|
||||
(unsigned long) total);
|
||||
wpa_trace_deinit();
|
||||
#endif /* WPA_TRACE */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue