summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/popen-leak-fix.diff
blob: a00ab02a578752f33f6ea8d7b2a699f085131858 (plain)
1
2
3
4
5
6
7
8
9
10
--- tools/linguist/shared/proparser.cpp
+++ 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();
 	    }