… | |
… | |
19 | |
19 | |
20 | #include "config.h" |
20 | #include "config.h" |
21 | #include "compat.h" |
21 | #include "compat.h" |
22 | |
22 | |
23 | #include <stdlib.h> |
23 | #include <stdlib.h> |
|
|
24 | #include <string.h> |
24 | |
25 | |
25 | #include "parse.h" |
26 | #include "parse.h" |
26 | #include "parse_routines.h" |
27 | #include "parse_routines.h" |
27 | |
28 | |
28 | #ifdef DMALLOC |
29 | #ifdef DMALLOC |
… | |
… | |
301 | psiconv_warn(lev+2,sto, |
302 | psiconv_warn(lev+2,sto, |
302 | "Sketch section not found in the section table"); |
303 | "Sketch section not found in the section table"); |
303 | } else { |
304 | } else { |
304 | psiconv_debug(lev+2,sto, |
305 | psiconv_debug(lev+2,sto, |
305 | "Sketch section at offset %08x",applid_sec); |
306 | "Sketch section at offset %08x",applid_sec); |
306 | if ((res = psiconv_parse_sketch_section(buf,lev+2,sketch_sec,NULL,0, |
307 | if ((res = psiconv_parse_sketch_section(buf,lev+2,sketch_sec,NULL, |
307 | &(*result)->sketch_sec))) |
308 | &(*result)->sketch_sec))) |
308 | goto ERROR4; |
309 | goto ERROR4; |
309 | } |
310 | } |
310 | |
311 | |
311 | psiconv_free_application_id_section(appl_id); |
312 | psiconv_free_application_id_section(appl_id); |