Fix mem-leak introduced with previous commit

This commit is contained in:
goro
2009-01-29 19:31:25 +01:00
parent c981202454
commit dbbb17fe70

View File

@@ -741,6 +741,7 @@ void patchTextFiles(const char *newInstallBase)
oldSourceBase, newSourceBase, oldSourceBase, newSourceBase,
#endif #endif
oldInstallBase, newInstallBase); oldInstallBase, newInstallBase);
delete[] fileName;
} }
patchQMakeSpec(newInstallBase); patchQMakeSpec(newInstallBase);