comparison main.c @ 717:183818be0d83

s/ITEM_/CFG_ITEM_/g
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 02 Jul 2023 03:21:18 +0300
parents 3dbcd6f49e09
children
comparison
equal deleted inserted replaced
716:3dbcd6f49e09 717:183818be0d83
1945 1945
1946 void nn_cfg_free(th_cfgitem_t *node) 1946 void nn_cfg_free(th_cfgitem_t *node)
1947 { 1947 {
1948 switch (node->type) 1948 switch (node->type)
1949 { 1949 {
1950 case ITEM_STRING: 1950 case CFG_ITEM_STRING:
1951 th_free(*(node->v.val_str)); 1951 th_free(*(node->v.val_str));
1952 break; 1952 break;
1953 1953
1954 case ITEM_STRING_LIST: 1954 case CFG_ITEM_STRING_LIST:
1955 th_llist_free_func_data(*(node->v.list), th_free); 1955 th_llist_free_func_data(*(node->v.list), th_free);
1956 break; 1956 break;
1957 } 1957 }
1958 } 1958 }
1959 1959