python plugin: Fix memory leak.
authorFlorian Forster <octo@collectd.org>
Tue, 8 Dec 2015 12:41:35 +0000 (13:41 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 8 Dec 2015 12:41:35 +0000 (13:41 +0100)
commit3e413a72f2387d600fa00169823c7ce0d0b649b5
tree6933cc513093b4b28a14fbac9de8f13f713f5ce7
parente3571ad6e1ada10fb7220193df57b7ef3b540ab1
python plugin: Fix memory leak.

The regiser_read / register_write functions assume a user_data_t*
pointing to static memory and will not store / free the pointer.

CID: 38002
src/python.c