Skip to content

Commit

Permalink
update(scripting): Allocating memory
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzis committed Dec 1, 2023
1 parent 71d7f58 commit 011bec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin_files/scripting/includes/swiftly/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Configuration
void *configurationFetch = FetchFunctionPtr(nullptr, "scripting_Configuration_Fetch");
if (configurationFetch)
{
char *value;
char *value = new char[8192];
reinterpret_cast<Configuration_Fetch>(configurationFetch)(key, value);

try
Expand Down

0 comments on commit 011bec5

Please sign in to comment.