LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File popen-leak-fix.diff of Package qt3 (Project openSUSE:Factory)

--- 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();
 	    }