summaryrefslogtreecommitdiff
path: root/src/libexecline/exlsn_free.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexecline/exlsn_free.c')
-rw-r--r--src/libexecline/exlsn_free.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libexecline/exlsn_free.c b/src/libexecline/exlsn_free.c
new file mode 100644
index 0000000..4d9dde3
--- /dev/null
+++ b/src/libexecline/exlsn_free.c
@@ -0,0 +1,12 @@
+/* ISC license. */
+
+#include <skalibs/stralloc.h>
+#include "exlsn.h"
+
+void exlsn_free (exlsn_t *info)
+{
+ stralloc_free(&info->vars) ;
+ stralloc_free(&info->values) ;
+ stralloc_free(&info->data) ;
+}
+