From a6e33089e20b299e1c36ab5e91c29125e890b2bc Mon Sep 17 00:00:00 2001 From: axtloss Date: Tue, 27 Feb 2024 20:03:23 +0100 Subject: Fix memory leaks --- fbwarn/src/extString.c | 1 - 1 file changed, 1 deletion(-) (limited to 'fbwarn/src/extString.c') diff --git a/fbwarn/src/extString.c b/fbwarn/src/extString.c index 361afa7..6538dac 100644 --- a/fbwarn/src/extString.c +++ b/fbwarn/src/extString.c @@ -27,7 +27,6 @@ char *trim(char *s) end = result + strlen(result) - 1; while(end > result && isspace((unsigned char)*end)) end--; - // Write new null terminator character end[1] = '\0'; return result; -- cgit v1.2.3