fix debugger crssh

This commit is contained in:
Vítor Santos Costa
2018-10-24 21:45:41 +01:00
parent 37d9810a99
commit f0260d2978
3 changed files with 4 additions and 6 deletions

View File

@@ -98,11 +98,9 @@ static char *send_tracer_message(char *start, char *name, arity_t arity,
if (max <= sz) {
min = sz + 1024;
expand = true;
free((void*)sn);
continue;
}
strcpy(s, sn);
free((void*)sn);
sn = NULL;
s += sz;
max -= sz;