osx: Fix new version check

This commit is contained in:
Alexander Kojevnikov 2011-03-05 19:28:28 +08:00
parent abe298e9d0
commit 6857808656

View File

@ -98,6 +98,7 @@ gchar *spek_platform_read_line (const gchar *uri) {
buf = (gchar *) g_malloc (length + 1);
CFDataGetBytes (data, CFRangeMake (0, length), (UInt8 *) buf);
buf[length] = '\0';
g_strchomp (buf);
CFRelease (data);
}
CFRelease (url);