Handle vcDiffwrapper properly.
Improved previous fix a bit and applied it to Decoder as well.
Merge pull request #2 from Frigolit/master

Improvement to previous memory leak fix