Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/mallocr.c')
-rw-r--r--newlib/libc/stdlib/mallocr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/mallocr.c b/newlib/libc/stdlib/mallocr.c
index e7cdace22..9588ffd83 100644
--- a/newlib/libc/stdlib/mallocr.c
+++ b/newlib/libc/stdlib/mallocr.c
@@ -2323,7 +2323,7 @@ Void_t* mALLOc(RARG bytes) RDECL size_t bytes;
{
#ifdef MALLOC_PROVIDED
- malloc (bytes);
+ return malloc (bytes); // Make sure that the pointer returned by malloc is returned back.
#else