projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utils_db_query.c: plug leak on error
[collectd.git]
/
src
/
ipc.c
diff --git
a/src/ipc.c
b/src/ipc.c
index
645d4b0
..
00b3a5f
100644
(file)
--- a/
src/ipc.c
+++ b/
src/ipc.c
@@
-213,7
+213,7
@@
static caddr_t ipc_get_info (cid_t cid, int cmd, int version, int stsize, int *n
*nmemb = size / stsize;
- buff =
(caddr_t)
malloc (size);
+ buff = malloc (size);
if (buff == NULL) {
ERROR ("ipc plugin: ipc_get_info malloc failed.");
return (NULL);