IOS: Fixes a small memory leak
This commit is contained in:
parent
99844a81b0
commit
cfa9172a6e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue