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)
51 else 51 else
52 { 52 {
53 bufptr += size; 53 bufptr += size;
54 bufleft -= size;
54 return ptr; 55 return ptr;
55 } 56 }
56} 57}
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)
79 else 79 else
80 { 80 {
81 bufptr += size; 81 bufptr += size;
82 bufleft -= size;
82 return ptr; 83 return ptr;
83 } 84 }
84} 85}
diff --git a/docs/CREDITS b/docs/CREDITS
index a43cc50ba4..56bbcd3501 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -409,6 +409,7 @@ Takumi Suzuki
409Shunsuke Shimizu 409Shunsuke Shimizu
410Tadayuki Nishizono 410Tadayuki Nishizono
411Jun Gu 411Jun Gu
412Daniel Weck
412 413
413The libmad team 414The libmad team
414The wavpack team 415The wavpack team