summaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-06 18:42:20 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-06 18:42:20 +0000
commit94674f2223aafeaa4690f25e12f3ebe07814c5ba (patch)
treeec39a32dd6513f68e6f524c4272424a334403def /src/alloc.c
parent5bcd29b84e4dd6435177f37a544ecbf8df02412c (diff)
patch 9.0.1152: class "implements" argument not implementedv9.0.1152
Problem: Class "implements" argument not implemented. Solution: Implement "implements" argument. Add basic checks for when a class implements an interface.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 583ea87743..e3e6d0430b 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -813,7 +813,7 @@ ga_copy_string(garray_T *gap, char_u *p)
/*
* Add string "p" to "gap".
- * When out of memory "p" is freed and FAIL is returned.
+ * When out of memory FAIL is returned (caller may want to free "p").
*/
int
ga_add_string(garray_T *gap, char_u *p)