Debian Codegraph @

plugins/LadspaEffect/swh/gsm/gsm_destroy.c

raw
1 /*
2 * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
3 * Universitaet Berlin. See the accompanying file "COPYRIGHT" for
4 * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
5 */
6
7 /* $Header: /home/cvs/giga/ladspa-swh/gsm/gsm_destroy.c,v 1.1 2001/06/10 21:36:51 swh Exp $ */
8
9 #include "gsm.h"
10 #include "config.h"
11 #include "proto.h"
12
13 #ifdef HAS_STDLIB_H
14 # include <stdlib.h>
15 #else
16 # ifdef HAS_MALLOC_H
17 # include <malloc.h>
18 # else
19 extern void free();
20 # endif
21 #endif
22
23 void gsm_destroy P1((S), gsm S)
24 {
25 if (S) free((char *)S);
26 }