mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-21 21:52:04 +02:00
Remove unnecessary SDL_free
This commit is contained in:
parent
5e1d61632d
commit
10f3d2655d
1 changed files with 0 additions and 4 deletions
|
@ -199,7 +199,6 @@ int main(int argc, char *argv[]) {
|
|||
#endif
|
||||
if (!dataDir[0]) {
|
||||
strncpy(dataDir, mkxp_fs::getDefaultGameRoot().c_str(), sizeof(dataDir));
|
||||
SDL_free(tmp);
|
||||
}
|
||||
mkxp_fs::setCurrentDirectory(dataDir);
|
||||
#endif
|
||||
|
@ -275,9 +274,6 @@ int main(int argc, char *argv[]) {
|
|||
return 0;
|
||||
}
|
||||
#if defined(__WINDOWS__)
|
||||
// Init winsock, allows socket ops in Ruby to work
|
||||
// MKXP itself doesn't need it so it's a little
|
||||
// hands-off
|
||||
WSAData wsadata = {0};
|
||||
if (WSAStartup(0x101, &wsadata) || wsadata.wVersion != 0x101) {
|
||||
char buf[200];
|
||||
|
|
Loading…
Add table
Reference in a new issue