projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9720463
)
Fixed a little memory leak in unmap logic.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 30 Aug 2014 22:27:41 +0000
(
00:27
+0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 30 Aug 2014 22:27:41 +0000
(
00:27
+0200)
src/map.c
patch
|
blob
|
history
diff --git
a/src/map.c
b/src/map.c
index
87bd752
..
e1e14ad
100644
(file)
--- a/
src/map.c
+++ b/
src/map.c
@@
-369,6
+369,7
@@
static gboolean map_delete_by_lhs(const char *lhs, int len, char mode)
if (m->mode == mode && m->inlen == len && !strcmp(m->in, lhs)) {
/* remove the found list item */
map.list = g_slist_delete_link(map.list, l);
+ free_map(m);
return true;
}
}