trunk/src/mess/machine/ti99/gromport.c
| r29201 | r29202 | |
| 2312 | 2312 | zip_file* zipfile; |
| 2313 | 2313 | |
| 2314 | 2314 | char *layout_text = NULL; |
| 2315 | | xml_data_node *layout_xml; |
| 2315 | xml_data_node *layout_xml = NULL; |
| 2316 | 2316 | xml_data_node *romset_node; |
| 2317 | 2317 | xml_data_node *configuration_node; |
| 2318 | 2318 | xml_data_node *resources_node; |
| r29201 | r29202 | |
| 2428 | 2428 | catch (rpk_exception &exp) |
| 2429 | 2429 | { |
| 2430 | 2430 | newrpk->close(); |
| 2431 | if (layout_xml != NULL) xml_file_free(layout_xml); |
| 2431 | 2432 | if (zipfile != NULL) zip_file_close(zipfile); |
| 2432 | 2433 | if (layout_text != NULL) global_free_array(layout_text); |
| 2433 | 2434 | |
| r29201 | r29202 | |
| 2435 | 2436 | throw exp; |
| 2436 | 2437 | } |
| 2437 | 2438 | |
| 2439 | if (layout_xml != NULL) xml_file_free(layout_xml); |
| 2438 | 2440 | if (zipfile != NULL) zip_file_close(zipfile); |
| 2439 | 2441 | if (layout_text != NULL) global_free_array(layout_text); |
| 2440 | 2442 | |