summaryrefslogtreecommitdiff
path: root/libs/libsndfile/src/GSM610/gsm_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libsndfile/src/GSM610/gsm_destroy.c')
-rw-r--r--libs/libsndfile/src/GSM610/gsm_destroy.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/libs/libsndfile/src/GSM610/gsm_destroy.c b/libs/libsndfile/src/GSM610/gsm_destroy.c
new file mode 100644
index 0000000000..9e2d6a49b7
--- /dev/null
+++ b/libs/libsndfile/src/GSM610/gsm_destroy.c
@@ -0,0 +1,31 @@
+/*
+ * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
+ * Universitaet Berlin. See the accompanying file "COPYRIGHT" for
+ * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
+ */
+
+#include "gsm.h"
+#include "config.h"
+
+#ifdef HAS_STDLIB_H
+# include <stdlib.h>
+#else
+# ifdef HAS_MALLOC_H
+# include <malloc.h>
+# else
+ extern void free();
+# endif
+#endif
+
+void gsm_destroy (gsm S)
+{
+ if (S) free((char *)S);
+}
+/*
+** Do not edit or modify anything in this comment block.
+** The arch-tag line is a file identity tag for the GNU Arch
+** revision control system.
+**
+** arch-tag: f423d09b-6ccc-47e0-9b18-ee1cf7a8e473
+*/
+