Coverity : 72678, 72687, 72689
Fixed memory leaks and use of freed memory
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop