Thanks, I'm going to submit the fix. Actually the fix patch contains also the possible memory leak fixes, and I'm considering whether to split the patch or not.