diff options
Diffstat (limited to 'pkg/utilities/nttools/tjoin/closeiotab.x')
-rw-r--r-- | pkg/utilities/nttools/tjoin/closeiotab.x | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/utilities/nttools/tjoin/closeiotab.x b/pkg/utilities/nttools/tjoin/closeiotab.x new file mode 100644 index 00000000..8d9ff7df --- /dev/null +++ b/pkg/utilities/nttools/tjoin/closeiotab.x @@ -0,0 +1,22 @@ +include "tjoin.h" + +# B.Simon 16-Apr-99 first code + +# CLOSE_IOTAB -- Close table and release data structure describing it + +procedure close_iotab (tj) + +pointer tj # i: Data structure describing table +#-- + +begin + call tbtclo (TJ_TAB(tj)) + + if (TJ_JPTR(tj) != NULL) + call mfree (TJ_JPTR(tj), TY_INT) + + if (TJ_DPTR(tj) != NULL) + call mfree (TJ_DPTR(tj), TY_INT) + + call mfree (tj, TY_INT) +end |