diff --git a/src/plugin.c b/src/plugin.c
index 2d431db360b53127b10cbfc5c025142b6c28bb58..4a25aaa773b3dd6ba4f381bb7fcfa3344cae34c7 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
(*callback) (timeout, identifier);
}
+ return (0);
} /* int plugin_flush */
void plugin_shutdown_all (void)
if (this->type == NM_TYPE_STRING)
{
- sfree (this->value_string);
+ free ((char *)this->value_string);
+ this->value_string = NULL;
}
sfree (this);