]> git.sur5r.net Git - i3/i3/commitdiff
Fix memleak in translate_keysyms
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 19 Oct 2015 16:52:47 +0000 (18:52 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 19 Oct 2015 16:53:59 +0000 (18:53 +0200)
src/bindings.c

index b5f3190146a78382131bf40ea15ebdb94a5b12c5..b32972acb385d2a0c69ab463609395a504a4a200 100644 (file)
@@ -413,6 +413,7 @@ void translate_keysyms(void) {
     }
 
     xkb_state_unref(dummy_state);
+    xkb_state_unref(dummy_state_no_shift);
 
     if (has_errors) {
         start_config_error_nagbar(current_configpath, true);