summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/panels/strings.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/panels/strings.c b/src/gui/panels/strings.c
index 7996553..8d41165 100644
--- a/src/gui/panels/strings.c
+++ b/src/gui/panels/strings.c
@@ -489,7 +489,7 @@ static void change_strings_panel_current_binary(GStringsPanel *panel, GLoadedBin
g_object_unref(G_OBJECT(proc));
format = g_loaded_binary_get_format(binary);
- content = g_binary_format_get_conten_(G_BIN_FORMAT(format));
+ content = g_binary_format_get_content(G_BIN_FORMAT(format));
symbols = g_binary_format_get_symbols(G_BIN_FORMAT(format), &count);
@@ -540,6 +540,8 @@ static void change_strings_panel_current_binary(GStringsPanel *panel, GLoadedBin
}
+ g_object_unref(G_OBJECT(content));
+
}