h264_metadata: Fix double-free