summaryrefslogtreecommitdiffstats
path: root/tools/linguist/shared
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-12 14:58:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-12 14:58:30 -0600
commit540da173004e3c6f41edf3dc56a10a228fee0f1a (patch)
tree544382e15041723368b53ea37ef49db9388907a8 /tools/linguist/shared
parent2cd2aafb302b0d1d2f6a07fd2628ee9d26c8ed82 (diff)
downloadqt3-540da173004e3c6f41edf3dc56a10a228fee0f1a.tar.gz
qt3-540da173004e3c6f41edf3dc56a10a228fee0f1a.zip
Fix popen leak
Related to Bug 637
Diffstat (limited to 'tools/linguist/shared')
-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();
}