]> 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>
Wed, 28 Oct 2015 20:56:34 +0000 (21:56 +0100)
src/bindings.c

index b9c7d91475d10d205f3780b09655a8abbcf05c45..84998af1a01942dc0561d92934c07ff0d0b70ef2 100644 (file)
@@ -396,6 +396,7 @@ void translate_keysyms(void) {
     }
 
     xkb_state_unref(dummy_state);
+    xkb_state_unref(dummy_state_no_shift);
 }
 
 /*