Fixes a leak in use_backend_type's if an unbind/bind sequence is used.
Merge remote-tracking branch 'ricardofandrade/hotfix/154-use_type_backend-leak' into hotfix/3.2.2

Fixes #154
Closes $155

Conflicts:
	src/core/test/common-tests.h