MainWindow, View::View: Fix two memory errors reported by valgrind
commitf420385094dc7392e6bcec494d800f1d4b34f082
authorPerttu Ahola <celeron55@iki.fi>
Sat, 24 Dec 2016 19:31:05 +0000 (24 21:31 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 26 Dec 2016 17:58:05 +0000 (26 18:58 +0100)
tree29c2ef26319a11bc1f7d39f9f7c17677b3678512
parent5f66b56eb6616c9c626d6f48abf1da0d8a652444
MainWindow, View::View: Fix two memory errors reported by valgrind

(use of freed data, use of uninitialized variable)
pv/mainwindow.cpp
pv/view/view.cpp