projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f386fef
)
fixed small memory leak in game_uno.c
author
pk910
<philipp@zoelle1.de>
Sun, 2 Sep 2012 18:48:08 +0000
(20:48 +0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 2 Sep 2012 18:48:08 +0000
(20:48 +0200)
src/modules/NeonFun.mod/game_uno.c
patch
|
blob
|
history
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) {