commit decd5b53f1f1303d1f351e85238cad4987b8b6f0
Author:     Laslo Hunhold <[email protected]>
AuthorDate: Sat Oct 8 13:16:51 2022 +0200
Commit:     Laslo Hunhold <[email protected]>
CommitDate: Sat Oct 8 13:16:51 2022 +0200

    Avoid memory leak in character-benchmark
    
    Signed-off-by: Laslo Hunhold <[email protected]>

diff --git a/benchmark/character.c b/benchmark/character.c
index 854645d..2f8efbb 100644
--- a/benchmark/character.c
+++ b/benchmark/character.c
@@ -80,6 +80,7 @@ main(int argc, char *argv[])
                      &baseline, NUM_ITERATIONS, p.buflen - 1);
 
        free(p.buf);
+       free(p.buf_utf8proc);
 
        return 0;
 }

Reply via email to