projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20030217-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
toons.c
diff --git
a/src/libgame/toons.c
b/src/libgame/toons.c
index 94c72152c2890d0461b849675d8fd18672033265..613d2017a7993e5aa900f371c0779faa9a261d64 100644
(file)
--- a/
src/libgame/toons.c
+++ b/
src/libgame/toons.c
@@
-85,6
+85,7
@@
static int get_toon_direction(char *direction_raw)
{
static char *direction = NULL;
+ /* !!! MEMORY LEAK HERE! FIX IT! !!! */
setString(&direction, getStringToLower(direction_raw));
return (strcmp(direction, "left") == 0 ? MV_LEFT :