ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/io/make_nodes.c
(Generate patch)

Comparing trunk/OOPSE-4/src/io/make_nodes.c (file contents):
Revision 2186 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 2187 by tim, Wed Apr 13 18:41:17 2005 UTC

# Line 157 | Line 157 | struct node_tag* members( char* list_str ){
157      the_node->the_data.mbrs.memberList[i] = atoi( foo );
158    }
159  
160 +  free(list_str);
161    return the_node;
162   }
163  
# Line 186 | Line 187 | struct node_tag* constraint( char* list_str ){
187    foo = strtok(list_str, " ,;\t");
188    the_node->the_data.cnstr.constraint_val = atof( foo );
189  
190 +  free(list_str);
191    return the_node;
192   }
193  
# Line 221 | Line 223 | struct node_tag* orientation( char* list_str ){
223    foo = strtok(NULL, " ,;\t");
224    the_node->the_data.ort.psi = atof( foo );
225  
226 +  free(list_str);
227    return the_node;
228   }
229  
# Line 256 | Line 259 | struct node_tag* position( char* list_str ){
259    foo = strtok(NULL, " ,;\t");
260    the_node->the_data.pos.z = atof( foo );
261  
262 <  
262 >  free(list_str);
263    return the_node;
264   }
265  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines