Fix file descriptor and memory leak in autotools plugin

Don't create QFile's on heap when not needed.
Don't forget to delete those which have to created on heap.

Change-Id: I0e23e0d926febbfd464b3ff5d3e29fd46c16cb44
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Peter Penz <peter.penz19@gmail.com>
This commit is contained in:
Victor Ostashevsky
2012-04-11 15:02:09 +02:00
committed by hjk
parent d48027aefe
commit 574d871e77
2 changed files with 12 additions and 5 deletions

View File

@@ -65,6 +65,8 @@ public:
*/
MakefileParser(const QString &makefile);
~MakefileParser();
/**
* Parses the makefile. Must be invoked at least once, otherwise
* the getter methods of MakefileParser will return empty values.