aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-07 08:37:31 +0200
committerDavid Robillard <d@drobilla.net>2018-08-07 08:37:31 +0200
commit54e2b90f98484d806769be273affbb15ce2da8af (patch)
tree92863de6fd0310bfb0b141b2e4d47901316a4242 /src
parent347103e4f0a1e338b0cf3afd31c54cd06e217a99 (diff)
downloadjalv-54e2b90f98484d806769be273affbb15ce2da8af.tar.gz
jalv-54e2b90f98484d806769be273affbb15ce2da8af.tar.bz2
jalv-54e2b90f98484d806769be273affbb15ce2da8af.zip
Fix closing JACK backend
Diffstat (limited to 'src')
-rw-r--r--src/jack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jack.c b/src/jack.c
index 337b3dd..a763040 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -388,7 +388,7 @@ jalv_backend_init(Jalv* jalv)
void
jalv_backend_close(Jalv* jalv)
{
- if (!jalv->backend) {
+ if (jalv->backend) {
jack_client_close(jalv->backend->client);
free(jalv->backend);
jalv->backend = NULL;