output_filename);
NOT_REACHED ();
}
+ if (!writer)
+ error (1, 0, _("%s: error opening output file"), output_filename);
for (i = 0; i < max_cases; i++)
{
error (1, 0, _("%s: error writing output file"), output_filename);
exit:
- dict_destroy (dict);
+ dict_unref (dict);
fh_unref (output_fh);
fh_unref (input_fh);
fh_done ();
return 0;
error:
- dict_destroy (dict);
+ dict_unref (dict);
fh_unref (output_fh);
fh_unref (input_fh);
fh_done ();