[backend] use freectx()

freectx() is currently dead code. Not referenced from anywhere in code.
So the function should be either removed or probably used somewhere. And DESTROY
of TIE seems like good place to call it there.