From 540da173004e3c6f41edf3dc56a10a228fee0f1a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 12 Jan 2012 14:58:30 -0600 Subject: Fix popen leak Related to Bug 637 --- tools/linguist/shared/proparser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') 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 proFileTagMap( const QString& text ) buff[read_in] = '\0'; after += buff; } + pclose( proc ); (*it).replace( i, callToSystem.matchedLength(), after ); i += after.length(); } -- cgit v1.2.1