# HG changeset patch # User yaz # Date 1180436302 25200 # Node ID 949457464b28cb38410bdf857842015a54087ef4 # Parent 31ad9abf960683dd649d5f8a6e383aac3af329b1 [svn] - fix for crash when file extension is not available. diff -r 31ad9abf9606 -r 949457464b28 ChangeLog --- a/ChangeLog Tue May 29 00:59:45 2007 -0700 +++ b/ChangeLog Tue May 29 03:58:22 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-29 07:59:45 +0000 William Pitcock + revision [2468] + - fix FD leakage. closes #954. + + trunk/src/flac/libflac/stream_decoder.c | 2 ++ + 1 file changed, 2 insertions(+) + + 2007-05-29 06:29:02 +0000 William Pitcock revision [2466] - fix registration of lastfm session ID diff -r 31ad9abf9606 -r 949457464b28 src/tta/libtta.c --- a/src/tta/libtta.c Tue May 29 00:59:45 2007 -0700 +++ b/src/tta/libtta.c Tue May 29 03:58:22 2007 -0700 @@ -451,7 +451,7 @@ { gchar *ext = strrchr(filename, '.'); - if (!strncasecmp(ext, ".tta", 4)) + if (ext && !strncasecmp(ext, ".tta", 4)) return TRUE; return FALSE;