Plug mem leaks in gdbus tests & examples