From 483d0f5bded54e2f850fceec1cbd43d96934d15c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Apr 2016 13:41:04 +0200 Subject: [PATCH] amqp: plug leak on realloc failure --- src/amqp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amqp.c b/src/amqp.c index ec794302..2be55e07 100644 --- a/src/amqp.c +++ b/src/amqp.c @@ -736,6 +736,7 @@ static int camqp_subscribe_init (camqp_config_t *conf) /* {{{ */ if (tmp == NULL) { ERROR ("amqp plugin: realloc failed."); + sfree (subscriber_threads); camqp_config_free (conf); return (ENOMEM); } -- 2.30.2