From e03c9e6fb4095aacc3608729c56cd3bae08e99e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Wed, 12 Jul 2017 09:03:49 +0100 Subject: [PATCH] Stop processing if we freed the client --- servers/lloadd/operation.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/lloadd/operation.c b/servers/lloadd/operation.c index 6621b4845d..56deb0ac65 100644 --- a/servers/lloadd/operation.c +++ b/servers/lloadd/operation.c @@ -843,5 +843,8 @@ fail: op->o_client_refcnt--; operation_destroy_from_client( op ); CLIENT_UNLOCK_OR_DESTROY(client); + if ( !client ) { + rc = -1; + } return rc; }