aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/qtlibspatcher
diff options
context:
space:
mode:
authorgoro <[email protected]>2009-01-29 19:31:25 +0100
committergoro <[email protected]>2009-01-29 19:31:25 +0100
commitdbbb17fe70b5ae138e88ecb41bf458f6e9aee101 (patch)
tree4388b0fcc2584ab90e1cc197d90f0c40940dcffe /src/tools/qtlibspatcher
parentc981202454a1383872a13414a1e107b20e4ae7c0 (diff)
Fix mem-leak introduced with previous commit
Diffstat (limited to 'src/tools/qtlibspatcher')
-rw-r--r--src/tools/qtlibspatcher/qtlibspatchermain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/qtlibspatcher/qtlibspatchermain.cpp b/src/tools/qtlibspatcher/qtlibspatchermain.cpp
index d5c976c9e19..c186b8a895d 100644
--- a/src/tools/qtlibspatcher/qtlibspatchermain.cpp
+++ b/src/tools/qtlibspatcher/qtlibspatchermain.cpp
@@ -741,6 +741,7 @@ void patchTextFiles(const char *newInstallBase)
oldSourceBase, newSourceBase,
#endif
oldInstallBase, newInstallBase);
+ delete[] fileName;
}
patchQMakeSpec(newInstallBase);