X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Famqp.c;h=2be55e0713efe186268337924357d47a6863a1b9;hb=9bf6a43e84848f5526b875074ec2d19e2c3eb5ad;hp=ec7943022b8db23177dae9e284e5a5fe6717abcf;hpb=09c12e0e1e0ef340a7074146684650ed54cba64d;p=collectd.git 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); }