Memory leak fix from Tiago Cunha.

1 file changed