summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/chessbox/chessbox_pgn.c1
-rw-r--r--apps/plugins/dict.c1
-rw-r--r--docs/CREDITS1
3 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.c b/apps/plugins/chessbox/chessbox_pgn.c
index 9e9656207b..1aff214332 100644
--- a/apps/plugins/chessbox/chessbox_pgn.c
+++ b/apps/plugins/chessbox/chessbox_pgn.c
@@ -51,6 +51,7 @@ void *pl_malloc(ssize_t size)
else
{
bufptr += size;
+ bufleft -= size;
return ptr;
}
}
diff --git a/apps/plugins/dict.c b/apps/plugins/dict.c
index f893be3422..db121f7510 100644
--- a/apps/plugins/dict.c
+++ b/apps/plugins/dict.c
@@ -79,6 +79,7 @@ void *pl_malloc(ssize_t size)
else
{
bufptr += size;
+ bufleft -= size;
return ptr;
}
}
diff --git a/docs/CREDITS b/docs/CREDITS
index a43cc50ba4..56bbcd3501 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -409,6 +409,7 @@ Takumi Suzuki
Shunsuke Shimizu
Tadayuki Nishizono
Jun Gu
+Daniel Weck
The libmad team
The wavpack team