Fix memory leak when reinitializing stream encoder.

http://sourceforge.net/tracker/?func=detail&aid=3390048&group_id=13478&atid=313478
1 file changed