summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index ff117dc6da..8d60eee25e 100644
--- a/src/map.c
+++ b/src/map.c
@@ -84,10 +84,10 @@ map_free(mapblock_T **mpp)
vim_free(mp->m_str);
vim_free(mp->m_orig_str);
*mpp = mp->m_next;
- vim_free(mp);
#ifdef FEAT_EVAL
reset_last_used_map(mp);
#endif
+ vim_free(mp);
}
/*