From 8eea40e09aa34da85cfa191f07cfe7e123c9809d Mon Sep 17 00:00:00 2001
From: liuxu <liuxu156@huawei.com>
Date: Wed, 5 Jun 2024 10:18:06 +0800
Subject: [PATCH 103/108] bugfix:add note

Signed-off-by: liuxu <liuxu156@huawei.com>
---
 src/utils/cutils/utils_array.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/utils/cutils/utils_array.h b/src/utils/cutils/utils_array.h
index 0c4fd217..553c2c13 100644
--- a/src/utils/cutils/utils_array.h
+++ b/src/utils/cutils/utils_array.h
@@ -30,6 +30,7 @@ void util_free_array_by_len(char **array, size_t len);
 
 void util_free_array(char **array);
 
+// this function just copies the first len elements of array and does not automatically add NULL element in the end.
 char **util_copy_array_by_len(char **array, size_t len);
 
 int util_grow_array(char ***orig_array, size_t *orig_capacity, size_t size,
-- 
2.25.1

