Skip to content

Commit c83f0fb

Browse files
committed
QuickEdit2
1 parent 86299f3 commit c83f0fb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

MarathonRecomp/patches/player_patches.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ PPC_FUNC(sub_8223F360) {
235235
if (gauge->m_Super.get() == 0.0)
236236
gauge->m_Super = GuestToHostFunction<float>(sub_821EA350, RefTypeLuaSystem, g_memory.MapVirtual(buffer));
237237

238+
239+
buffer->~string();
240+
g_userHeap.Free(buffer);
241+
238242
/* For Testing
239243
gauge->m_Green = 10;
240244
gauge->m_Blue = 20;

0 commit comments

Comments
 (0)