summaryrefslogtreecommitdiffstats
path: root/src/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c3
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) {