From 3225f154191e98855181e115feee217a6c156145 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Mon, 3 May 2021 22:38:38 +0200 Subject: [PATCH] Fixed bug in discord integration --- discord_integration/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord_integration/src/main.cpp b/discord_integration/src/main.cpp index ece0396c..39fa30b7 100644 --- a/discord_integration/src/main.cpp +++ b/discord_integration/src/main.cpp @@ -134,8 +134,8 @@ private: // Rich Presence DiscordRichPresence presence; double lastFreq; - char* freq = new char[1024]; - char* mode = new char[1024]; + char freq[1024]; + char mode[1024]; std::string lastMode = ""; // Threading