snowenc: Fix memleak of the ratecontrol related memory