# HG changeset patch # User William Pitcock # Date 1189560895 18000 # Node ID b747ad540903b61050188dda6e168c58e5b1082a # Parent 0970c745a497db38d436bfb86172d538dc0a7430 proberesult = use g_new0() for now still diff -r 0970c745a497 -r b747ad540903 src/audacious/input.c --- a/src/audacious/input.c Tue Sep 11 20:33:30 2007 -0500 +++ b/src/audacious/input.c Tue Sep 11 20:34:55 2007 -0500 @@ -376,7 +376,7 @@ if (ret > 0) { g_free(filename_proxy); - pr = g_slice_new0(ProbeResult, 1); + pr = g_new0(ProbeResult, 1); pr->ip = ip; return pr; } @@ -384,31 +384,6 @@ return NULL; } - /* CD-Audio uses cdda:// dummy paths, no filedescriptor handling for it */ - /* also cuesheet uses cue:// */ -/* - if (!g_strncasecmp(filename, "cue://", 6)) { - for (node = get_input_list(); node != NULL; node = g_list_next(node)) - { - ip = INPUT_PLUGIN(node->data); - if (!ip || !ip->enabled) - continue; - if (ip->is_our_file != NULL) - ret = ip->is_our_file(filename_proxy); - else - ret = 0; - if (ret > 0) - { - g_free(filename_proxy); - pr = g_new0(ProbeResult, 1); - pr->ip = ip; - return pr; - } - } - g_free(filename_proxy); - return NULL; - } -*/ fd = vfs_buffered_file_new_from_uri(tmp_uri); g_free(tmp_uri);