Update xvConvert.c

add free memory operation