projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed small memory leak in game_uno.c
[NeonServV5.git]
/
src
/
modules
/
NeonFun.mod
/
game_uno.c
diff --git
a/src/modules/NeonFun.mod/game_uno.c
b/src/modules/NeonFun.mod/game_uno.c
index 9b27d48c4cd52327872f3b510dd3c1ba7333e392..6481683981ba7805cd048bc9dddd5874ae96f168 100644
(file)
--- a/
src/modules/NeonFun.mod/game_uno.c
+++ b/
src/modules/NeonFun.mod/game_uno.c
@@
-141,6
+141,7
@@
void uno_free_deck(struct uno_card_deck *deck) {
free(card);
}
}
+ free(deck);
}
void uno_free_player(struct uno_player *player, struct uno_card_deck *deck) {