summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd17895)
raw | patch | inline | side by side (parent: fd17895)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 12 May 2010 08:45:09 +0000 (08:45 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 12 May 2010 08:45:09 +0000 (08:45 +0000) |
src/rrd_daemon.c | patch | blob | history |
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index b80ddc49f9d1f749a8049e5b2af5fc3b6f716493..4c7b6bd2f76d80e418fe2064f897b363ac39bf92 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
if (i > 0)
SSTRCAT (linebuf, " ", linebuf_fill);
SSTRCAT (linebuf, ds_namv[i], linebuf_fill);
+ rrd_freemem(ds_namv[i]);
}
+ rrd_freemem(ds_namv);
add_response_info (sock, "DSName: %s\n", linebuf);
}
add_response_info (sock, "%10lu:%s\n", (unsigned long) t, linebuf);
} /* for (t) */
+ rrd_freemem(data);
return (send_response (sock, RESP_OK, "Success\n"));
#undef SSTRCAT