Fix file descriptor and memory leak in autotools plugin
author Victor Ostashevsky
()
committer hjk
()
commit 574d871e77cf622c45dd8b9609e5774bb54ad407
tree 9f6c2009f6379b575f3dd1cd7b38b55680a5b7b9
parent d48027aefe6ef9b78778ff373e341702e523fa86
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>
src/plugins/autotoolsprojectmanager/makefileparser.cpp
src/plugins/autotoolsprojectmanager/makefileparser.h