mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-11 08:39:48 +12:00
Should use SDL_free for drag and drop char*
This commit is contained in:
parent
340c18b87b
commit
a7a908658a
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ void Emulator::run() {
|
|||
char *droppedDir = event.drop.file;
|
||||
if(droppedDir) {
|
||||
loadROM(droppedDir);
|
||||
free(droppedDir);
|
||||
SDL_free(droppedDir);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue