Soft'N'Design Software
/
projects
/
snake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d28869a
)
fix memory leak
author
Laurent Mazet
<mazet@softndesign.org>
Sun, 1 Sep 2024 09:47:50 +0000
(11:47 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sun, 1 Sep 2024 09:47:50 +0000
(11:47 +0200)
snake.c
patch
|
blob
|
blame
|
history
diff --git
a/snake.c
b/snake.c
index 24faa7b6b0c7341727713d7bfa25147f7569f441..078a803d9ef581ded3bd06c7a3b26ed60b12ef64 100644
(file)
--- a/
snake.c
+++ b/
snake.c
@@
-280,6
+280,7
@@
int main (int argc, char *argv[])
endwin ();
freeboard (board);
+ freesnake (snake);
return 0;
}