cafdec: free extradata before allocating it