projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/Makefile: Don't set subdir-objects.
[collectd.git]
/
src
/
amqp.c
diff --git
a/src/amqp.c
b/src/amqp.c
index
ec79430
..
fc69e93
100644
(file)
--- a/
src/amqp.c
+++ b/
src/amqp.c
@@
-736,7
+736,7
@@
static int camqp_subscribe_init (camqp_config_t *conf) /* {{{ */
if (tmp == NULL)
{
ERROR ("amqp plugin: realloc failed.");
if (tmp == NULL)
{
ERROR ("amqp plugin: realloc failed.");
-
camqp_config_free (conf
);
+
sfree (subscriber_threads
);
return (ENOMEM);
}
subscriber_threads = tmp;
return (ENOMEM);
}
subscriber_threads = tmp;
@@
-750,7
+750,6
@@
static int camqp_subscribe_init (camqp_config_t *conf) /* {{{ */
char errbuf[1024];
ERROR ("amqp plugin: pthread_create failed: %s",
sstrerror (status, errbuf, sizeof (errbuf)));
char errbuf[1024];
ERROR ("amqp plugin: pthread_create failed: %s",
sstrerror (status, errbuf, sizeof (errbuf)));
- camqp_config_free (conf);
return (status);
}
return (status);
}