| 1910 | */ |
| 1911 | |
| 1912 | static void var_parse_free( VAR_PARSE * parse ) |
| 1913 | { |
| 1914 | switch ( parse->type ) |
| 1915 | { |
| 1916 | case VAR_PARSE_TYPE_VAR: |
| 1917 | case VAR_PARSE_TYPE_FILE: |
| 1918 | var_parse_var_free( (VAR_PARSE_VAR *)parse ); |
| 1919 | break; |
| 1920 | |
| 1921 | case VAR_PARSE_TYPE_STRING: |
| 1922 | var_parse_string_free( (VAR_PARSE_STRING *)parse ); |
| 1923 | break; |
| 1924 | |
| 1925 | default: |
| 1926 | assert( !"Invalid type" ); |
| 1927 | } |
| 1928 | } |
| 1929 | |
| 1930 | |
| 1931 | /* |
no test coverage detected