summaryrefslogtreecommitdiff
path: root/plugins/dwarf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dwarf')
-rw-r--r--plugins/dwarf/format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/dwarf/format.c b/plugins/dwarf/format.c
index 6bd47cd..3883606 100644
--- a/plugins/dwarf/format.c
+++ b/plugins/dwarf/format.c
@@ -83,6 +83,8 @@ GDbgFormat *check_dwarf_format(GExeFormat *format)
if (matched)
result = g_dwarf_format_new(format);
+ else
+ result = NULL;
return result;