| 5764 | } |
| 5765 | |
| 5766 | void pv_spec_free(pv_spec_t *spec) |
| 5767 | { |
| 5768 | if(spec==0) return; |
| 5769 | /* TODO: free name if it is PV */ |
| 5770 | if(spec->trans) |
| 5771 | free_transformation((trans_t*)spec->trans); |
| 5772 | if ((spec->pvp.pvv_flags & PV_PARAM_PVV_SHM) && spec->pvp.pvv.s) |
| 5773 | shm_free(spec->pvp.pvv.s); |
| 5774 | pkg_free(spec); |
| 5775 | } |
| 5776 | |
| 5777 | int pv_spec_dbg(const pv_spec_p sp) |
| 5778 | { |
no test coverage detected