mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
IOS: Fixes a small memory leak
This commit is contained in:
@@ -443,8 +443,10 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) {
|
||||
|
||||
std::string absoluteOutputDir;
|
||||
#ifdef POSIX
|
||||
absoluteOutputDir = realpath(setup.outputDir.c_str(), NULL);
|
||||
char *c_path = realpath(setup.outputDir.c_str(), NULL);
|
||||
absoluteOutputDir = c_path;
|
||||
absoluteOutputDir += "/lib";
|
||||
free(c_path);
|
||||
#else
|
||||
absoluteOutputDir = "lib";
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user