diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-10-25 16:55:48 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-10-25 16:55:48 (GMT) |
commit | f6a487181ae950f376b131ce797f7cd058498401 (patch) | |
tree | 424928c814f88d87b43ecb7c20dd35210458d450 /src/gui/panels | |
parent | 413aa06d8f4037579cb6718e51bd7488a153f7e9 (diff) |
Fixed a Use-After-Free in the symbols panel.
Diffstat (limited to 'src/gui/panels')
-rw-r--r-- | src/gui/panels/symbols.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/panels/symbols.c b/src/gui/panels/symbols.c index 6a60366..e0a5857 100644 --- a/src/gui/panels/symbols.c +++ b/src/gui/panels/symbols.c @@ -825,8 +825,6 @@ static void reload_symbols_for_new_list_view(const GSymbolsPanel *panel, GtkStat else name = NULL; - free(original); - addr = get_mrange_addr(g_binary_symbol_get_range(symbol)); if (has_virt) @@ -853,6 +851,8 @@ static void reload_symbols_for_new_list_view(const GSymbolsPanel *panel, GtkStat if (name != NULL) free(name); + free(original); + rsfnlv_next: g_object_unref(G_OBJECT(symbol)); |