OSDN Git Service

Fix potential memory leak: According to the docs, setModel() creates and sets a new...
authorlordmulder <mulder2@gmx.de>
Fri, 6 Apr 2012 14:15:19 +0000 (16:15 +0200)
committerlordmulder <mulder2@gmx.de>
Fri, 6 Apr 2012 14:15:19 +0000 (16:15 +0200)
commitd16a116a1da974e46f375081197159f0c54f11b9
treec17b013a8cec6131bc61e6292662fa08f7802cac
parent3b2892b2fd973fa2a7b68c55d1cd6ebc96cfd6fd
Fix potential memory leak: According to the docs, setModel() creates and sets a new SelectionModel, so we need to remember and delete the "old" SelectionModel.
etc/Translation/Blank.ts
etc/Translation/LameXP_PL.ts
src/Config.h
src/Dialog_MainWindow.cpp