aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/selector/tcsclose.x
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tbtables/selector/tcsclose.x')
-rw-r--r--pkg/tbtables/selector/tcsclose.x14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/tbtables/selector/tcsclose.x b/pkg/tbtables/selector/tcsclose.x
new file mode 100644
index 00000000..3aa934ea
--- /dev/null
+++ b/pkg/tbtables/selector/tcsclose.x
@@ -0,0 +1,14 @@
+# TCS_CLOSE -- Free memory associated with column selectors
+
+procedure tcs_close (descrip, ndescrip)
+
+pointer descrip[ARB] # i: column selectors
+int ndescrip # i: number of descriptors
+#--
+int id
+
+begin
+ do id = 1, ndescrip
+ call mfree (descrip[id], TY_INT)
+
+end