Code

csv plugin: set datadir null when free
authorManuel Luis Sanmartin Rozada <manuel.luis@gmail.com>
Tue, 6 Aug 2013 10:30:52 +0000 (12:30 +0200)
committerManuel Luis Sanmartin Rozada <manuel.luis@gmail.com>
Tue, 6 Aug 2013 10:30:52 +0000 (12:30 +0200)
commitc97eef40cf19b106e6a00006a3b8f3f9ee409045
treea88f4c2c97f3675cc1a4decd805b5eba4286c63f
parentbeb2c5fb1c8659c345212ca11e4bff3e11b0932f
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
src/csv.c