summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-11-20 08:43:15 +1100
committerChris Johns <chrisj@rtems.org>2014-11-20 08:43:15 +1100
commit4f1bbbfcdf991470e46456324c5be57cedf7390c (patch)
tree8610c85cbfbe1ccfffca2d4f4048f27d908996e8
parent80590a8ecffbe3d61a28ccb64d2dc04a0612e52b (diff)
downloadrtems-4f1bbbfcdf991470e46456324c5be57cedf7390c.tar.bz2
libdl: Add a comment.
See ref #2191.
-rw-r--r--cpukit/libdl/rtl-allocator.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libdl/rtl-allocator.c b/cpukit/libdl/rtl-allocator.c
index ced19d0466..d5cc4435db 100644
--- a/cpukit/libdl/rtl-allocator.c
+++ b/cpukit/libdl/rtl-allocator.c
@@ -52,6 +52,9 @@ rtems_rtl_alloc_new (rtems_rtl_alloc_tag_t tag, size_t size, bool zero)
rtems_rtl_data_t* rtl = rtems_rtl_lock ();
void* address = NULL;
+ /*
+ * Obtain memory from the allocator.
+ */
if (rtl)
rtl->allocator.allocator (true, tag, &address, size);