SIGN IN SIGN UP

Fix reference leaks introduced by the patch for issue #5308.

S
Serhiy Storchaka committed
a155d40ed50b7bf77338a80ad1793cb1ea8538bc