aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;