* fix a memleak in the msg edit window