mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 12:25:35 +00:00
Merge "ast_bt_get_symbols: Prevent double-free."
This commit is contained in:
@@ -172,6 +172,7 @@ char **__ast_bt_get_symbols(void **addresses, size_t num_frames)
|
||||
if (bfdobj) {
|
||||
bfd_close(bfdobj);
|
||||
ast_std_free(syms);
|
||||
syms = NULL;
|
||||
}
|
||||
|
||||
/* Default output, if we cannot find the information within BFD */
|
||||
|
||||
Reference in New Issue
Block a user