diff options
Diffstat (limited to 'gold/reloc.cc')
-rw-r--r-- | gold/reloc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/reloc.cc b/gold/reloc.cc index 0061059..617573d 100644 --- a/gold/reloc.cc +++ b/gold/reloc.cc @@ -179,9 +179,9 @@ void Scan_relocs::run(Workqueue*) { this->object_->scan_relocs(this->symtab_, this->layout_, this->rd_); - this->object_->release(); delete this->rd_; this->rd_ = NULL; + this->object_->release(); } // Return a debugging name for the task. |