summaryrefslogtreecommitdiffstats
path: root/source/keyb.c
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-07-27 23:24:38 +0200
committerQC <qball@gmpclient.org>2015-07-27 23:24:38 +0200
commit979a63d2424e5a04c1a45bbb94d10904b605c409 (patch)
tree8c83cb155b53c8bf5070a43a86ab4dd36ff1ae9b /source/keyb.c
parent70f4f3d119e85855902009e606f60caa5229997d (diff)
Fix not clearing of pointer after free-ing it.
Diffstat (limited to 'source/keyb.c')
-rw-r--r--source/keyb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/keyb.c b/source/keyb.c
index ea140f4b..c8afc59e 100644
--- a/source/keyb.c
+++ b/source/keyb.c
@@ -262,6 +262,7 @@ void parse_keys_abe ( void )
char *sp = NULL;
g_free ( abe[iter].kb );
+ abe[iter].kb = NULL;
abe[iter].num_bindings = 0;
// Iter over bindings.