commit 13ccb0ba5bb24f011e9c5a6df75c9fd1a7c51dec parent fe8ac13709ff522981b4d48fa280922c12d1eb32 Author: Matsuda Kenji <info@mtkn.jp> Date: Fri, 13 Jan 2023 18:06:24 +0900 fix memory leak in lhandle_collision\nbut still leaking in the same function Diffstat:
M | ex9/object.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ex9/object.c b/ex9/object.c @@ -289,7 +289,7 @@ lhandle_collision(List *p) ((LLD *)tmplld->item)->o1); } } - lfree(lld); + lfreei(lld, &free); lfree(stack); stack = NULL; }