diff --git a/RendererBackend.cpp b/RendererBackend.cpp index b5f47ed..fb9a795 100644 --- a/RendererBackend.cpp +++ b/RendererBackend.cpp @@ -257,6 +257,7 @@ int RendererBackend::Run() { if (event.type == SDL_DROPFILE) { if (event.drop.file != NULL) { Drop(std::string(event.drop.file)); + free(event.drop.file); } } }