Merge "ast_bt_get_symbols: Prevent double-free." into 13

This commit is contained in:
Jenkins2
2017-10-15 14:20:37 -05:00
committed by Gerrit Code Review

View File

@@ -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 */