summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/panels/symbols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/panels/symbols.c b/src/gui/panels/symbols.c
index 74d1cf9..a4ee454 100644
--- a/src/gui/panels/symbols.c
+++ b/src/gui/panels/symbols.c
@@ -1114,8 +1114,6 @@ static void reload_symbols_for_new_tree_view(const GSymbolsPanel *panel, GtkStat
else
name = NULL;
- free(original);
-
addr = get_mrange_addr(g_binary_symbol_get_range(symbol));
vmpa2_virt_to_string(addr, size, virt, NULL);
@@ -1137,6 +1135,8 @@ static void reload_symbols_for_new_tree_view(const GSymbolsPanel *panel, GtkStat
if (name != NULL)
free(name);
+ free(original);
+
rsfntv_next:
g_object_unref(G_OBJECT(symbol));