Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed memory leak.
  • Loading branch information
icculus committed Aug 20, 2013
1 parent 7a42f7d commit 26f5eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform_windows.c
Expand Up @@ -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 */

Expand Down

0 comments on commit 26f5eb4

Please sign in to comment.