projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python: Fix python plugin crash
[collectd.git]
/
src
/
python.c
diff --git
a/src/python.c
b/src/python.c
index
d4efa94
..
a8f5177
100644
(file)
--- a/
src/python.c
+++ b/
src/python.c
@@
-423,7
+423,7
@@
static int cpy_write_callback(const data_set_t *ds,
}
dict = PyDict_New(); /* New reference. */
if (value_list->meta) {
- char **table;
+ char **table
= NULL
;
meta_data_t *meta = value_list->meta;
int num = meta_data_toc(meta, &table);