diff options
| -rw-r--r-- | replay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -461,6 +461,7 @@ long lastspokelinenumber(char *nick, char *basedir) { // Try to split if ((token = strsep(&strcopy, " ")) == NULL) { debugprint(DEBUG_CRIT, "lastspokelinenumber(): error splitting string on iteration '%d', returning -1!\n", i); + free(strcopyPtr); fclose(fp); return -1; } |
