Changeset 626 for trunk/zoo-project
- Timestamp:
- Apr 10, 2015, 11:19:43 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/request_parser.c
r625 r626 158 158 if (inputs_as_text == NULL) 159 159 { 160 free(cursor_input); 160 161 return errorException (*main_conf, _("Unable to allocate memory."), 161 162 "InternalError", NULL); … … 168 169 if (inputs_as_text[i] == NULL) 169 170 { 171 free(cursor_input); 170 172 return errorException (*main_conf, _("Unable to allocate memory."), 171 173 "InternalError", NULL); … … 203 205 if (tmpmaps == NULL) 204 206 { 207 free(cursor_input); 205 208 return errorException (*main_conf, 206 209 _("Unable to allocate memory."), … … 259 262 ("Unable to find a valid protocol to download the remote file %s"), 260 263 tmpv1 + 1); 264 free(cursor_input); 261 265 return errorException (*main_conf, emsg, "InternalError", NULL); 262 266 } … … 266 270 (&*main_conf, &tmpmaps->content, hInternet, tmpx2) < 0) 267 271 { 272 free(cursor_input); 268 273 return errorException (*main_conf, "Unable to fetch any ressource", "InternalError", NULL); 269 274 } 270 275 } 271 276 free (tmpx2); … … 290 295 elem) < 0) 291 296 { 297 free(cursor_input); 292 298 return errorException (*main_conf, "Unable to append maps", "InternalError", NULL); 293 299 } … … 304 310 } 305 311 free (inputs_as_text); 312 free(cursor_input); 306 313 } 307 314 return 1; … … 339 346 if (outputs_as_text == NULL) 340 347 { 348 free(cursor_output); 341 349 return errorException (*main_conf, _("Unable to allocate memory"), 342 350 "InternalError", NULL); … … 349 357 if (outputs_as_text[i] == NULL) 350 358 { 359 free(cursor_output); 351 360 return errorException (*main_conf, _("Unable to allocate memory"), 352 361 "InternalError", NULL); … … 373 382 if (tmp_output == NULL) 374 383 { 384 free(cursor_output); 375 385 return errorException (*main_conf, 376 386 _ … … 413 423 } 414 424 free (outputs_as_text); 425 free(cursor_output); 415 426 } 416 427 return 1;
Note: See TracChangeset
for help on using the changeset viewer.