author | Manuel Luis Sanmartin Rozada <manuel.luis@gmail.com> | |
Tue, 6 Aug 2013 10:30:52 +0000 (12:30 +0200) | ||
committer | Manuel Luis Sanmartin Rozada <manuel.luis@gmail.com> | |
Tue, 6 Aug 2013 10:30:52 +0000 (12:30 +0200) | ||
commit | c97eef40cf19b106e6a00006a3b8f3f9ee409045 | |
tree | a88f4c2c97f3675cc1a4decd805b5eba4286c63f | tree | snapshot |
parent | beb2c5fb1c8659c345212ca11e4bff3e11b0932f | commit | diff |
csv plugin: set datadir null when free
If you define twice DataDir:
<Plugin csv>
DataDir "/opt/collectd/var/lib/collectd/csv"
DataDir stdout
</Plugin>
the second time datadir will not be null and
you will get garbage in value_list_to_filename
If you define twice DataDir:
<Plugin csv>
DataDir "/opt/collectd/var/lib/collectd/csv"
DataDir stdout
</Plugin>
the second time datadir will not be null and
you will get garbage in value_list_to_filename
src/csv.c | diff | blob | history |