Fixed memory leak

It appears that the XournalWidget has to be explicitely
destroyed.