diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-04-18 15:30:21 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-04-18 15:30:21 (GMT) |
commit | c8092365591d1336c1e03cf42b6bd6ea58a17350 (patch) | |
tree | e9b0b8a125f89f852108a2fc60a08ad1ff8182f2 /src/format | |
parent | 0794024b412604ae5e5aca0f104b5a8f3ec5412c (diff) |
Taken into account the potential absence of demangler in the symbol panel.
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format/format.c b/src/format/format.c index 2be7d5c..18ddc03 100644 --- a/src/format/format.c +++ b/src/format/format.c @@ -129,6 +129,8 @@ static void g_binary_format_init(GBinFormat *format) format->info = g_preload_info_new(); + format->demangler = NULL; + g_rw_lock_init(&format->syms_lock); #ifndef NDEBUG g_atomic_int_set(&format->sym_locked, 0); |