Revision 7985f506
som/Tests/chunk_signaling_test.c | ||
---|---|---|
141 | 141 |
cset = chunkID_set_init("size=10"); |
142 | 142 |
if (!cset) { |
143 | 143 |
fprintf(stderr,"Unable to allocate memory for cset\n"); |
144 |
nodeid_free(dst); |
|
144 | 145 |
|
145 | 146 |
return -1; |
146 | 147 |
} |
... | ... | |
152 | 153 |
cset = chunkID_set_init("size=10"); |
153 | 154 |
if (!cset) { |
154 | 155 |
fprintf(stderr,"Unable to allocate memory for cset\n"); |
156 |
nodeid_free(dst); |
|
155 | 157 |
|
156 | 158 |
return -1; |
157 | 159 |
} |
... | ... | |
164 | 166 |
cset = chunkID_set_init("type=bitmap,size=10"); |
165 | 167 |
if (!cset) { |
166 | 168 |
fprintf(stderr,"Unable to allocate memory for cset\n"); |
169 |
nodeid_free(dst); |
|
167 | 170 |
|
168 | 171 |
return -1; |
169 | 172 |
} |
... | ... | |
177 | 180 |
break; |
178 | 181 |
default: |
179 | 182 |
printf("Please select one operation (O)ffer, (R)equest, send (B)map, request (b)map\n"); |
183 |
nodeid_free(dst); |
|
180 | 184 |
|
181 | 185 |
return -1; |
182 | 186 |
} |
Also available in: Unified diff