Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 390783
Collapse All | Expand All

(-)src/playlist.c (-2 / +3 lines)
Lines 427-433 static int playlist_load (const char *fn Link Here
427
    if (errno != ENOENT && (defaultfile || errno != ENOTDIR))
427
    if (errno != ENOENT && (defaultfile || errno != ENOTDIR))
428
      display_error (FROM_GXINE, _("Loading of playlist file failed."),
428
      display_error (FROM_GXINE, _("Loading of playlist file failed."),
429
		     _("Failed to open file ā€˜%sā€™\n%s"), fname, strerror (errno));
429
		     _("Failed to open file ā€˜%sā€™\n%s"), fname, strerror (errno));
430
    goto ret0;
430
    goto ret1;
431
  }
431
  }
432
432
433
  xml_parser_init_R (xml_parser_t *xml, plfile, st.st_size, XML_PARSER_CASE_INSENSITIVE);
433
  xml_parser_init_R (xml_parser_t *xml, plfile, st.st_size, XML_PARSER_CASE_INSENSITIVE);
Lines 524-532 static int playlist_load (const char *fn Link Here
524
  return 1;
524
  return 1;
525
525
526
  ret0:
526
  ret0:
527
  free (plfile);
528
  xml_parser_free_tree (root);
527
  xml_parser_free_tree (root);
529
  xml_parser_finalize_R (xml);
528
  xml_parser_finalize_R (xml);
529
  free (plfile);
530
  ret1:
530
  if (defaultfile)
531
  if (defaultfile)
531
    free ((char *)fname);
532
    free ((char *)fname);
532
  return ret;
533
  return ret;

Return to bug 390783