| 3899 | } |
| 3900 | |
| 3901 | void free_tr_param(tr_param_t *tp) |
| 3902 | { |
| 3903 | tr_param_t *tp0; |
| 3904 | |
| 3905 | if(tp==NULL) return; |
| 3906 | while(tp) |
| 3907 | { |
| 3908 | tp0 = tp; |
| 3909 | tp = tp->next; |
| 3910 | if(tp0->type==TR_PARAM_SPEC) |
| 3911 | pv_spec_free((pv_spec_t*)tp0->v.data); |
| 3912 | pkg_free(tp0); |
| 3913 | } |
| 3914 | } |
no test coverage detected