• Johan Ström's avatar
    agodatalogger: fix invalid rrdtool mem free · 0432f9de
    Johan Ström authored
    Gcc8 complained: division 'sizeof (char**) / sizeof (char*)' does not compute the number of array elements [-Werror=sizeof-pointer-div]
    
    Also only free memory if retval is zero, in error cases rrd_fetch_r frees memory itself.
    0432f9de
Name
Last commit
Last update
cmake Loading commit data...
conf Loading commit data...
core Loading commit data...
data Loading commit data...
debian Loading commit data...
devices Loading commit data...
gateways Loading commit data...
scripts Loading commit data...
shared Loading commit data...
test Loading commit data...
unittest Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.lvimrc Loading commit data...
CMakeLists.txt Loading commit data...
INSTALL Loading commit data...
LICENSE.txt Loading commit data...
README.OSX Loading commit data...
README.md Loading commit data...
agocontrol.spec Loading commit data...
build_config.h.in Loading commit data...