[Refdb-cvs] CVS: refdb/src refdbdref.c,1.65.2.18,1.65.2.19
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2005-10-13 21:17:12
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30612 Modified Files: Tag: Release_0_9_5_stable refdbdref.c Log Message: removed superfluous free calls Index: refdbdref.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbdref.c,v retrieving revision 1.65.2.18 retrieving revision 1.65.2.19 diff -u -U2 -r1.65.2.18 -r1.65.2.19 --- refdbdref.c 11 Oct 2005 20:32:55 -0000 1.65.2.18 +++ refdbdref.c 13 Oct 2005 21:17:00 -0000 1.65.2.19 @@ -2126,5 +2126,5 @@ newtoken = token; - printf("%s\n", token); +/* printf("%s\n", token); */ /* general strategy: scan the command string for items and add all of @@ -2173,5 +2173,4 @@ len = 0; - /* terminate token at the next unprotected space */ token = nstrtok(buffer, &len, " "); if (token != NULL) { @@ -2274,17 +2273,13 @@ if (!strcmp(ptr_curr->name, ":JO:")) { strcpy(jo, quoted_token); - free(ptr_curr->value); } else if (!strcmp(ptr_curr->name, ":JF:")) { strcpy(jf, quoted_token); - free(ptr_curr->value); } else if (!strcmp(ptr_curr->name, ":J1:")) { strcpy(j1, quoted_token); - free(ptr_curr->value); } else if (!strcmp(ptr_curr->name, ":J2:")) { strcpy(j2, quoted_token); - free(ptr_curr->value); } free(quoted_token); |