From bb40336eb8a2acc9f2e3d2e9059b7d90afe5c0c4 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Mon, 29 Feb 2016 09:14:58 +0000
Subject: [PATCH] Some leaks still present in xml parsing library.

---
 src/timestep.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/timestep.c b/src/timestep.c
index 315c1d1..59ff8c6 100644
--- a/src/timestep.c
+++ b/src/timestep.c
@@ -18,7 +18,7 @@
 
 ts_bool run_simulation(ts_vesicle *vesicle, ts_uint mcsweeps, ts_uint inititer, ts_uint iterations, ts_uint start_iteration){
 	ts_uint i, j,k,l,m;
-	ts_double r0,kc1,kc2,kc3,kc4;
+	ts_double r0,kc1=0,kc2=0,kc3=0,kc4=0;
 	ts_double l1,l2,l3,vmsr,bfsr, vmsrt, bfsrt;
 	ts_ulong epochtime;
 	FILE *fd1,*fd2=NULL;

--
Gitblit v1.9.3