diff options
author | rsiddharth <s@ricketyspace.net> | 2020-04-19 01:12:58 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-04-19 01:12:58 -0400 |
commit | 1d47e2921880480c78c72767971b449e71a0b433 (patch) | |
tree | accd7d8b9e7f0402f04c4bd0415f6d51aba42778 /src | |
parent | 436a0beb7f1191f4237732ad60383e5253674c02 (diff) |
protocol.c: Update ssload.
* src/protocol.c (ssload): Cleanup st_str.
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.c b/src/protocol.c index fb6a33c..292a8d9 100644 --- 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) { |