Fix important memleak in get_mail_from_control
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 23 Jul 2018 14:09:51 +0000 (16:09 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 23 Jul 2018 14:09:51 +0000 (16:09 +0200)
commit43cd17881983b02d90062bca8050f07c97fe325f
treebd9eeaf5bcd0f501e7457ae7493fbf32ee701890
parent9d83c52581904721c588b50fdd2e15bb7c959d0c
Fix important memleak in get_mail_from_control

* src/ribbon-callbacks.cpp (get_mail_from_control): Fix memleak.

--
This function is called 4 times for each invalidate UI so this
leak is important even if it just leaks a few bytes.
src/ribbon-callbacks.cpp