diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-12 14:58:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-12 14:58:30 -0600 |
commit | 540da173004e3c6f41edf3dc56a10a228fee0f1a (patch) | |
tree | 544382e15041723368b53ea37ef49db9388907a8 /tools/linguist/shared | |
parent | 2cd2aafb302b0d1d2f6a07fd2628ee9d26c8ed82 (diff) | |
download | qt3-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.cpp | 1 |
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(); } |