diff options
author | cbdev <cb@cbcdn.com> | 2019-12-28 14:51:26 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-12-28 14:51:26 +0100 |
commit | 85fc921042efa68b0a34a413dd84bb1ea7a998cc (patch) | |
tree | 826ae94979784fe82da02df8d5dd10ee5ff8ddfe /backend.c | |
parent | 67e0226e88efd01a3f6dd60759ce6bca029967dd (diff) | |
download | midimonster-85fc921042efa68b0a34a413dd84bb1ea7a998cc.tar.gz midimonster-85fc921042efa68b0a34a413dd84bb1ea7a998cc.tar.bz2 midimonster-85fc921042efa68b0a34a413dd84bb1ea7a998cc.zip |
Check API pointer before use, fix spelling
Diffstat (limited to 'backend.c')
-rw-r--r-- | backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -189,7 +189,7 @@ void channels_free(){ size_t u; for(u = 0; u < nchannels; u++){ DBGPF("Destroying channel %lu on instance %s\n", channels[u]->ident, channels[u]->instance->name); - if(channels[u]->impl){ + if(channels[u]->impl && channels[u]->instance->backend->channel_free){ channels[u]->instance->backend->channel_free(channels[u]); } free(channels[u]); |