Skip to content
Permalink
Browse files
Fixed memory leak.
  • Loading branch information
icculus committed Aug 20, 2013
1 parent 7a42f7d commit 26f5eb481e50320f937dbba581668d938f5b6e50
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/platform_windows.c
@@ -412,6 +412,7 @@ char *__PHYSFS_platformCalcPrefDir(const char *org, const char *app)
} /* if */

sprintf(retval, "%s\\%s\\%s\\", utf8, org, app);
allocator.Free(utf8);
return retval;
} /* __PHYSFS_platformCalcPrefDir */

0 comments on commit 26f5eb4

Please sign in to comment.