simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Feb 13 10:21:42 GMT 2023


TL;DR:
  bb31efd Fix memory leaks in Keen's validate_desc()
  0f20b72 Remember to free the actual_board array in Mosaic
  11b631e Don't leak grids in Loopy's validate_desc()
  493bf16 Remember to free the to_draw member from Net's drawstate

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2023-02-13 10:21:42

commit bb31efdbc91495a4385ca0afffa4c8bb8f564d7b
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=bb31efdbc91495a4385ca0afffa4c8bb8f564d7b;hp=c139aba078f2ec46a0e0b44142b7c982519a8263
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Mon Feb 13 09:31:03 2023 +0000

    Fix memory leaks in Keen's validate_desc()
    
    Keen uses a DSF to validate its game descriptions and almost always
    failed to free it, even when the validation succeeded.

 keen.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

commit 0f20b7226957a2fceff37a67b0d9874c7db3a7fc
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=0f20b7226957a2fceff37a67b0d9874c7db3a7fc;hp=bb31efdbc91495a4385ca0afffa4c8bb8f564d7b
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Mon Feb 13 09:36:27 2023 +0000

    Remember to free the actual_board array in Mosaic

 mosaic.c | 1 +
 1 file changed, 1 insertion(+)

commit 11b631ea870355306c4b1d03458bb3cea8f29188
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=11b631ea870355306c4b1d03458bb3cea8f29188;hp=0f20b7226957a2fceff37a67b0d9874c7db3a7fc
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Mon Feb 13 09:45:08 2023 +0000

    Don't leak grids in Loopy's validate_desc()

 loopy.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 493bf16ddbe2185664d6c3053f7891a9f232c75c
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=493bf16ddbe2185664d6c3053f7891a9f232c75c;hp=11b631ea870355306c4b1d03458bb3cea8f29188
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Mon Feb 13 09:48:16 2023 +0000

    Remember to free the to_draw member from Net's drawstate

 net.c | 1 +
 1 file changed, 1 insertion(+)



More information about the tartarus-commits mailing list