[MSPAINT] Fix memory leak of SelectionModel (#2169)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Wed, 25 Dec 2019 06:46:29 +0000 (15:46 +0900)
committerGitHub <noreply@github.com>
Wed, 25 Dec 2019 06:46:29 +0000 (15:46 +0900)
commit3fa95ab912fc38e44d88c7a5bce90b0ea9cff697
tree3dab2c40b2981f9e568814a83ee2f311cf3a3946
parent1d1446394727e7efebd5f09f9ba3561fd6f82ab6
[MSPAINT] Fix memory leak of SelectionModel (#2169)

- Initialize all members in SelectionModel's ctor.
- Add SelectionModel's dtor.
base/applications/mspaint/selectionmodel.cpp
base/applications/mspaint/selectionmodel.h