diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-11-27 23:14:47 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-11-27 23:14:47 (GMT) |
commit | 9cc97d4fe2cd735d60a9ee2bb2f016a252b3a4d4 (patch) | |
tree | 1f7e7212793967dcd6fff47ce8a0bd6f2aef5fff | |
parent | 425f8ce0e40592287431bd1d3d71e03f5bdcbdd5 (diff) |
Fixed uninitialized value when looking for DWARF format.
-rw-r--r-- | plugins/dwarf/format.c | 2 |
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; |