Fix two Gerror leaks