sed: mark function as attribute(malloc)
Suggested by gcc-8.2.0. * sed/compile.c (read_label): Mark as _GL_ATTRIBUTE_MALLOC.
This commit is contained in:
1 parent
665f9a9dc1
commit
36e3485e7f
1 file changed
+1
-1
+1
-1
@@ -673,7 +673,7 @@ mark_subst_opts (struct subst *cmd)
|
||||
}
|
||||
|
||||
/* read in a label for a `:', `b', or `t' command */
|
||||
static char *
|
||||
static char * _GL_ATTRIBUTE_MALLOC
|
||||
read_label (void)
|
||||
{
|
||||
struct buffer *b;
|
||||
|
||||
Reference in new issue
Block a user