diff options
Diffstat (limited to 'src/os_amiga.c')
-rw-r--r-- | src/os_amiga.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c index 85e0c4ef0..a0fb5c084 100644 --- a/src/os_amiga.c +++ b/src/os_amiga.c @@ -1619,8 +1619,7 @@ mch_getenv(char_u *var) else #endif { - vim_free(alloced); - alloced = NULL; + VIM_CLEAR(alloced); retval = NULL; buf = alloc(IOSIZE); |