Valgrind: Fix memory leak
Valgrind: Fix memory leak

Detected by valgrind :)

Change-Id: I4e6b9cb1980cce82170e3f6c2e7cb541dd838d5e
Reviewed-by: Christian Kandeler <3aa99dcdd3f0cac61fb81c2a11771c0cc2497607@theqtcompany.com>
Reviewed-by: Nikolai Kosjar <9571db158ca61a0d070db010803474231fa0cbab@theqtcompany.com>

Distrotech/qtcreator,amyvmiwei/qt-creator,farseerri/git_code,Distrotech/qtcreator,AltarBeastiful/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,kuba1/qtcreator,xianian/qt-creator,xianian/qt-creator,kuba1/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,danimo/qt-creator,Distrotech/qtcreator,Distrotech/qtcreator,danimo/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,kuba1/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,kuba1/qtcreator,kuba1/qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,Distrotech/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,kuba1/qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,xianian/qt-creator,kuba1/qtcreator,xianian/qt-creator,farseerri/git_code,farseerri/git_code,farseerri/git_code,martyone/sailfish-qtcreator,danimo/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,xianian/qt-creator