aboutsummaryrefslogtreecommitdiff
path: root/fbwarn/src/extString.c
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-02-27 20:03:23 +0100
committeraxtloss <axtlos@getcryst.al>2024-02-27 20:03:23 +0100
commita6e33089e20b299e1c36ab5e91c29125e890b2bc (patch)
tree4a65de9a67c9161ca8cd87c463cf221fb4005921 /fbwarn/src/extString.c
parentc9b119217829f976a7830a0555650401cf9df2cb (diff)
downloadfsverify-a6e33089e20b299e1c36ab5e91c29125e890b2bc.tar.gz
fsverify-a6e33089e20b299e1c36ab5e91c29125e890b2bc.tar.bz2
Fix memory leaks
Diffstat (limited to '')
-rw-r--r--fbwarn/src/extString.c1
1 files changed, 0 insertions, 1 deletions
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;