Skip to content

Commit

Permalink
Remove the changes as they don't fix the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
VeithMetro authored Oct 10, 2024
1 parent e6c6ac3 commit 0793bdd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Source/core/Proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ namespace Thunder {

if (Space != nullptr) {
*(reinterpret_cast<uint32_t*>(&Space[alignedSize])) = AdditionalSize;
Space = reinterpret_cast<uint8_t*>(&Space[sizeof(void*)]);
}
}
else {
Expand All @@ -94,9 +93,8 @@ namespace Thunder {
operator delete(
void* stAllocateBlock)
{
uint8_t* originalPointer = reinterpret_cast<uint8_t*>(stAllocateBlock) - sizeof(void*);
reinterpret_cast<ProxyObject<CONTEXT>*>(originalPointer)->__Destructed();
::free(originalPointer);
reinterpret_cast<ProxyObject<CONTEXT>*>(stAllocateBlock)->__Destructed();
::free(stAllocateBlock);
}

public:
Expand Down

0 comments on commit 0793bdd

Please sign in to comment.