mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "ast_bt_get_symbols: Prevent double-free." into 13
This commit is contained in:
@@ -173,6 +173,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