diff options
| author | Petr Machata <[email protected]> | 2008-12-15 15:27:01 +0100 |
|---|---|---|
| committer | Petr Machata <[email protected]> | 2008-12-15 15:27:01 +0100 |
| commit | d62eda6e2cd2862fadad971a1ce14e7c4075f5d6 (patch) | |
| tree | 2cebc98c9d54489f538fb56c795bba428f941a42 /libdw/dwarf_begin.c | |
| parent | 468fe4d81a3e92157f4c0446675487dc230b2ec6 (diff) | |
Dump com.redhat.elfutils.pmachata.threads from monotone.upstream/pmachata/threads
Diffstat (limited to 'libdw/dwarf_begin.c')
| -rw-r--r-- | libdw/dwarf_begin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdw/dwarf_begin.c b/libdw/dwarf_begin.c index 69935a40..9f38ea7e 100644 --- a/libdw/dwarf_begin.c +++ b/libdw/dwarf_begin.c @@ -117,5 +117,8 @@ dwarf_begin (fd, cmd) result->free_elf = true; } + if (result != NULL) + rwlock_init (result->lock); + return result; } |
