1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 08:45:24 +03:00

findTrueFileName() memory leak fixed

This commit is contained in:
Damjan Adamic 2015-10-24 20:33:14 +02:00
parent 2a54bee20b
commit cd4d6afff8

View file

@ -772,10 +772,12 @@ char *findTrueFileName(const char *path)
strcat(result, res->d_name);
TRACE("\tfound: %s", res->d_name);
fileMap.insert(filemap_t:: value_type(path, result));
simu::closedir(dir);
return result;
}
}
}
simu::closedir(dir);
}
#endif
}