Fixed memory leak.
This commit is contained in:
parent
7a42f7dd41
commit
26f5eb481e
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue