[REFACT] Removed buffer deletion from Executable destructor

This commit is contained in:
kotek
2014-08-17 09:39:08 +02:00
parent a5de08bf50
commit ea9bf3cd5f
3 changed files with 2 additions and 6 deletions
-5
View File
@@ -6,11 +6,6 @@ Executable::Executable(AbstractByteBuffer *v_buf, exe_bits v_bitMode)
if (v_buf == NULL) throw ExeException("Cannot make Exe from NULL buffer");
}
Executable::~Executable()
{
delete this->buf;
}
BYTE* Executable::getContentAt(offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions)
{
offset_t raw = this->toRaw(offset, aType, allowExceptions);