summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-12 14:58:30 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-02 20:29:54 +0200
commit95715b32b09ef966d3e6a49ee889c1e6a554feb9 (patch)
tree84aaa282b54bfc900b435cf0081fdd169c16fa71 /tools
parent8e2a765a805d051623a3a48e7eca2e3295024555 (diff)
downloadqt3-95715b32b09ef966d3e6a49ee889c1e6a554feb9.tar.gz
qt3-95715b32b09ef966d3e6a49ee889c1e6a554feb9.zip
Fix popen leak
Related to Bug 637 (cherry picked from commit 540da173004e3c6f41edf3dc56a10a228fee0f1a)
Diffstat (limited to 'tools')
-rw-r--r--tools/linguist/shared/proparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/linguist/shared/proparser.cpp b/tools/linguist/shared/proparser.cpp
index 7528361..ac6cf7b 100644
--- a/tools/linguist/shared/proparser.cpp
+++ b/tools/linguist/shared/proparser.cpp
@@ -207,6 +207,7 @@ QMap<QString, QString> proFileTagMap( const QString& text )
buff[read_in] = '\0';
after += buff;
}
+ pclose( proc );
(*it).replace( i, callToSystem.matchedLength(), after );
i += after.length();
}