forked from aniani/vim
patch 8.2.3134: crash when using typename() on a function reference
Problem: Crash when using typename() on a function reference. (Naohiro Ono) Solution: Initialize pointer to NULL. (closes #8531)
This commit is contained in:
@@ -1166,7 +1166,7 @@ type_name(type_T *type, char **tofree)
|
||||
|
||||
for (i = 0; i < type->tt_argcount; ++i)
|
||||
{
|
||||
char *arg_free;
|
||||
char *arg_free = NULL;
|
||||
char *arg_type;
|
||||
int len;
|
||||
|
||||
|
Reference in New Issue
Block a user