[DynInst_API:] [dyninst/dyninst] 1c8f83: Remove binaryEdit::deleteBinaryEdit (#866)


Date: Tue, 29 Sep 2020 13:24:33 -0700
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] 1c8f83: Remove binaryEdit::deleteBinaryEdit (#866)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 1c8f83e95963cf2b68fdc4a160ce41326803f5e1
      https://github.com/dyninst/dyninst/commit/1c8f83e95963cf2b68fdc4a160ce41326803f5e1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/src/binaryEdit.C
    M dyninstAPI/src/binaryEdit.h

  Log Message:
  -----------
  Remove binaryEdit::deleteBinaryEdit (#866)

This moves the same functionality into the destructor and prevents possible memory corruption when its usage would promote in-place object reuse. Originally part of #317.


[← Prev in Thread] Current Thread [Next in Thread→]