Fixes issue #33 related to a memory issue, and format some code. (#35)

Fixes #33.

Co-authored-by: LoaD Accumulator <lda@freetards.xyz>
Reviewed-on: https://git.telodendria.io/Telodendria/telodendria/pulls/35
Co-authored-by: LoaD Accumulator <lda@noreply.git.telodendria.io>
Co-committed-by: LoaD Accumulator <lda@noreply.git.telodendria.io>
This commit is contained in:
LoaD Accumulator 2023-09-11 10:57:16 -04:00 committed by Jordan Bancino
parent a19ebea78f
commit 9c4c3fc899
2 changed files with 6 additions and 3 deletions

View file

@ -147,7 +147,6 @@ StrSubstr(const char *inStr, size_t start, size_t end)
}
len = end - start;
outStr = Malloc(len + 1);
if (!outStr)
{