| 2060 | } |
| 2061 | |
| 2062 | static void free_rtpe_nodes(struct rtpe_set *list) |
| 2063 | { |
| 2064 | struct rtpe_node * crt_rtpp, *last_rtpp; |
| 2065 | |
| 2066 | for(crt_rtpp = list->rn_first; crt_rtpp != NULL; ){ |
| 2067 | |
| 2068 | if(crt_rtpp->rn_url.s) |
| 2069 | shm_free(crt_rtpp->rn_url.s); |
| 2070 | |
| 2071 | last_rtpp = crt_rtpp; |
| 2072 | crt_rtpp = last_rtpp->rn_next; |
| 2073 | shm_free(last_rtpp); |
| 2074 | } |
| 2075 | list->rn_first = NULL; |
| 2076 | list->rtpe_node_count = 0; |
| 2077 | } |
| 2078 | |
| 2079 | /* finds the set based upon ID and frees it from list */ |
| 2080 | static void free_rtpe_set(int id_set) |
no test coverage detected