nserver

nihilistic stats server
Log | Files | Refs | README | LICENSE

commit 1d47e2921880480c78c72767971b449e71a0b433
parent 436a0beb7f1191f4237732ad60383e5253674c02
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 19 Apr 2020 01:12:58 -0400

protocol.c: Update ssload.

* src/protocol.c (ssload): Cleanup st_str.

Diffstat:
src/protocol.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/protocol.c b/src/protocol.c @@ -295,6 +295,9 @@ int ssload(char *from, char *to) Stats *st = Stats_unstringify(st_str); check(st != NULL, "stats unstringify failed"); + // clean up st_str. + free(st_str); + // 5. create Record if needed. int rec_created = 0; if (rec == NULL) {