diff
  redirection_free_data(pData, NULL);
+ *pData = calloc(1, utf8_len);
  if (!*pData)
      goto fail;
