* Fix memory leaks. (bugs #140628, #140664, #140596, #140730, #140727, #140747, #140522, #140520) [Morten Wilander] * Fix compiler warnings. (bug #141962) [Bart Martens]