trunk/src/tools/chdman.c
| r23839 | r23840 | |
| 1635 | 1635 | } |
| 1636 | 1636 | catch (...) |
| 1637 | 1637 | { |
| 1638 | delete chd; |
| 1638 | 1639 | // delete the output file |
| 1639 | 1640 | astring *output_chd_str = params.find(OPTION_OUTPUT); |
| 1640 | 1641 | if (output_chd_str != NULL) |
| 1641 | 1642 | osd_rmfile(*output_chd_str); |
| 1642 | | delete chd; |
| 1643 | 1643 | throw; |
| 1644 | 1644 | } |
| 1645 | 1645 | } |
| r23839 | r23840 | |
| 1808 | 1808 | } |
| 1809 | 1809 | catch (...) |
| 1810 | 1810 | { |
| 1811 | delete chd; |
| 1811 | 1812 | // delete the output file |
| 1812 | 1813 | astring *output_chd_str = params.find(OPTION_OUTPUT); |
| 1813 | 1814 | if (output_chd_str != NULL) |
| 1814 | 1815 | osd_rmfile(*output_chd_str); |
| 1815 | | delete chd; |
| 1816 | 1816 | throw; |
| 1817 | 1817 | } |
| 1818 | 1818 | } |
| r23839 | r23840 | |
| 1900 | 1900 | } |
| 1901 | 1901 | catch (...) |
| 1902 | 1902 | { |
| 1903 | delete chd; |
| 1903 | 1904 | // delete the output file |
| 1904 | 1905 | astring *output_chd_str = params.find(OPTION_OUTPUT); |
| 1905 | 1906 | if (output_chd_str != NULL) |
| 1906 | 1907 | osd_rmfile(*output_chd_str); |
| 1907 | | delete chd; |
| 1908 | 1908 | throw; |
| 1909 | 1909 | } |
| 1910 | 1910 | } |
| r23839 | r23840 | |
| 2025 | 2025 | } |
| 2026 | 2026 | catch (...) |
| 2027 | 2027 | { |
| 2028 | delete chd; |
| 2028 | 2029 | // delete the output file |
| 2029 | 2030 | astring *output_chd_str = params.find(OPTION_OUTPUT); |
| 2030 | 2031 | if (output_chd_str != NULL) |
| 2031 | 2032 | osd_rmfile(*output_chd_str); |
| 2032 | | delete chd; |
| 2033 | 2033 | throw; |
| 2034 | 2034 | } |
| 2035 | 2035 | } |
| r23839 | r23840 | |
| 2150 | 2150 | } |
| 2151 | 2151 | catch (...) |
| 2152 | 2152 | { |
| 2153 | delete chd; |
| 2153 | 2154 | // delete the output file |
| 2154 | 2155 | astring *output_chd_str = params.find(OPTION_OUTPUT); |
| 2155 | 2156 | if (output_chd_str != NULL) |
| 2156 | 2157 | osd_rmfile(*output_chd_str); |
| 2157 | | delete chd; |
| 2158 | 2158 | throw; |
| 2159 | 2159 | } |
| 2160 | 2160 | } |