From: Jaroslav Kysela Date: Thu, 17 Aug 2000 13:05:07 +0000 (+0000) Subject: Added snd_instr_simple_free function X-Git-Tag: v1.0.3~1179 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=1adb6dc796983983069645275ad7e29db2f74512;p=alsa-lib.git Added snd_instr_simple_free function --- diff --git a/src/instr/simple.c b/src/instr/simple.c index 9fc72167..594e524b 100644 --- a/src/instr/simple.c +++ b/src/instr/simple.c @@ -29,6 +29,14 @@ #include #include +int snd_instr_simple_free(snd_instr_simple_t *simple) +{ + if (simple == NULL) + return 0; + free(simple); + return 0; +} + static long simple_size(simple_instrument_t *instr) { int size;