Fixed leaking of global variable.

Found that the library leaks a variable, colon fixes that.