From 0d19c033a548e7359bf996d97a335189ff63033c Mon Sep 17 00:00:00 2001 From: Nicolas Brouard Date: Wed, 11 Sep 2024 19:38:41 +0200 Subject: [PATCH] memory leka fixed --- src/imach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imach.c b/src/imach.c index 3b6845a..6091e8f 100644 --- a/src/imach.c +++ b/src/imach.c @@ -12893,8 +12893,8 @@ int decoderesult( char resultline[], int nres) return 1; } for(k=1; k<=j;k++){ /* Loop on any covariate of the RESULT LINE */ + cutl(stra, strb, resultsav, ' '); /* keeps in strb after the first ' ' (stra is the rest of the resultline to be analyzed in the next loop *//* resultsav= "V4=1 V5=25.1 V3=0" stra= "V5=25.1 V3=0" strb= "V4=1" */ if(nbocc(resultsav,'=') >1){ - cutl(stra,strb,resultsav,' '); /* keeps in strb after the first ' ' (stra is the rest of the resultline to be analyzed in the next loop *//* resultsav= "V4=1 V5=25.1 V3=0" stra= "V5=25.1 V3=0" strb= "V4=1" */ /* If resultsav= "V4= 1 V5=25.1 V3=0" with a blank then strb="V4=" and stra="1 V5=25.1 V3=0" */ cutl(strc,strd,strb,'='); /* strb:"V4=1" strc="1" strd="V4" */ /* If a blank, then strc="V4=" and strd='\0' */ -- 2.43.0