From 4e27903fe5e7ff02436550c05a317876d121bc15 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 25 Dec 2020 15:36:24 -0800 Subject: [PATCH] Profile profiler memory leak during compilation --- IDE/src/IDEApp.bf | 1 + 1 file changed, 1 insertion(+) diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index 93715442..6d09f877 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -10227,6 +10227,7 @@ namespace IDE profileCmd.mSampleRate = sampleRate; if (var processCompileCmd = mExecutionQueue.Back as ProcessBfCompileCmd) { + delete processCompileCmd.mProfileCmd; processCompileCmd.mProfileCmd = profileCmd; } }