! Frees a destination set which used to be stored in the global context */
| 121 | |
| 122 | /*! Frees a destination set which used to be stored in the global context */ |
| 123 | static void dset_destroy(void *dsct) |
| 124 | { |
| 125 | /* emptry all branches */ |
| 126 | _empty_branches( (struct dset_ctx *)dsct ); |
| 127 | /* free attrs/avp for the RURI/0 branch */ |
| 128 | destroy_avp_list( &((struct dset_ctx *)dsct)->ruri_attrs ); |
| 129 | pkg_free( dsct ); |
| 130 | } |
| 131 | |
| 132 | |
| 133 | int init_dset(void) |
nothing calls this directly
no test coverage detected