inicialize freed variables to prevent coredumps
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 8 Feb 2007 14:47:36 +0000 (14:47 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 8 Feb 2007 14:47:36 +0000 (14:47 +0000)
org.glite.lb.client/src/producer.c

index 2107223..15493b2 100644 (file)
@@ -342,7 +342,7 @@ static int edg_wll_LogEventMaster(
        va_list fmt_args;
        int     priority;
        int     ret;
-       edg_wll_LogLine in,out;
+       edg_wll_LogLine in = NULL, out = NULL;
 
        priority = flags & LOGFLAG_SYNC;