[Player-cvs] app/gtk sysinfo.cpp,1.1.2.1,1.1.2.1.2.1
rggammon at helixcommunity.org rggammon at helixcommunity.orgUpdate of /cvsroot/player/app/gtk
In directory cvs-new:/tmp/cvs-serv4796
Modified Files:
Tag: hxclient_1_4_2_neptunex
sysinfo.cpp
Log Message:
Fix crash on uninitialized variable in distribution detection code
Index: sysinfo.cpp
===================================================================
RCS file: /cvsroot/player/app/gtk/sysinfo.cpp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.1.2.1
diff -u -d -r1.1.2.1 -r1.1.2.1.2.1
--- sysinfo.cpp 15 Jul 2004 02:00:34 -0000 1.1.2.1
+++ sysinfo.cpp 29 Jul 2004 18:24:01 -0000 1.1.2.1.2.1
@@ -207,7 +207,7 @@
static gboolean
get_distribution_name_from_etc_xxx_release(HXSysInfo* info)
{
- GIOChannel* chan;
+ GIOChannel* chan = NULL;
GIOStatus status;
GError* error = NULL;
guint i;