Log cleanup. Fix very minor memory leak

This commit is contained in:
Henrik Rydgård committed 2025-04-14 22:38:22 +02:00
1 parent 41b77bf1ae
commit 52a7709fb5
6 files changed
+24 -19

No files matched your search

+1 -2
View File
@@ -918,9 +918,8 @@ void DumpFileIfEnabled(const u8 *dataPtr, const u32 length, std::string_view nam
char *path = (char *)userdata;
if (clicked) {
System_ShowFileInFolder(Path(path));
} else {
delete[] path;
}
delete[] path;
}, path);
}
}