Fixed memory leak (decoding buffers)
This should definitely fix #13 as pointed by @DVLG