diff options
author | Stef Walter <stef@memberwebs.com> | 2006-02-23 23:42:48 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-02-23 23:42:48 +0000 |
commit | 79199e48a62a3cb5742ef3b9917e4f6cf135a742 (patch) | |
tree | 50acde8728a9a00e4467646170f159a8122b90f2 /tools | |
parent | 3a157c679247b95057a2d1260241429baf0c55e0 (diff) |
Fix crasher on creating of RRDs.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rrdbot-create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rrdbot-create.c b/tools/rrdbot-create.c index 73a5541..86f5b27 100644 --- a/tools/rrdbot-create.c +++ b/tools/rrdbot-create.c @@ -265,7 +265,7 @@ cfg_value(const char* filename, const char* header, const char* name, /* Do cleanup */ ctx->confname = NULL; - for( ; ctx->args; ctx->args = ctx->args->next) + while(ctx->args) { arg = ctx->args->next; free(ctx->args->def); |