Mercurial > hg > index.cgi
comparison lwasm/input.c @ 93:5bf9edabd661
Squashed the remaining memory leaks revealed by valgrind
author | lost@l-w.ca |
---|---|
date | Wed, 22 Jun 2011 19:28:36 -0600 |
parents | e95eaf2f7fe0 |
children | 9960e05cbe3a |
comparison
equal
deleted
inserted
replaced
92:19ca3108a223 | 93:5bf9edabd661 |
---|---|
134 t -> type = input_type_string; | 134 t -> type = input_type_string; |
135 t -> data = lw_strdup(str); | 135 t -> data = lw_strdup(str); |
136 t -> data2 = 0; | 136 t -> data2 = 0; |
137 t -> next = IS; | 137 t -> next = IS; |
138 as -> input_data = t; | 138 as -> input_data = t; |
139 t -> filespec = lw_strdup(s); | 139 // t -> filespec = lw_strdup(s); |
140 } | 140 } |
141 | 141 |
142 void input_open(asmstate_t *as, char *s) | 142 void input_open(asmstate_t *as, char *s) |
143 { | 143 { |
144 struct input_stack *t; | 144 struct input_stack *t; |