python plugin: Remove "const" of usage strings.
[collectd.git] / src / pyvalues.c
index 890dc4e..cc7e296 100644 (file)
@@ -473,7 +473,7 @@ static meta_data_t *cpy_build_meta(PyObject *meta) {
                if (PyErr_Occurred())
                        cpy_log_exception("building meta data");
                Py_XDECREF(value);
-               Py_DECREF(keystring);
+               Py_DECREF(key);
        }
        return m;
 }
@@ -1009,7 +1009,7 @@ PyTypeObject NotificationType = {
        Notification_new           /* tp_new */
 };
 
-static const char Signed_doc[] = "This is a long by another name. Use it in meta data dicts\n"
+static char Signed_doc[] = "This is a long by another name. Use it in meta data dicts\n"
                "to choose the way it is stored in the meta data.";
 
 PyTypeObject SignedType = {
@@ -1036,7 +1036,7 @@ PyTypeObject SignedType = {
        Signed_doc                 /* tp_doc */
 };
 
-static const char Unsigned_doc[] = "This is a long by another name. Use it in meta data dicts\n"
+static char Unsigned_doc[] = "This is a long by another name. Use it in meta data dicts\n"
                "to choose the way it is stored in the meta data.";
 
 PyTypeObject UnsignedType = {