Fix some memleaks
[mikachu/openbox.git] / openbox / translate.c
index 5b2b4eb..e7962ad 100644 (file)
@@ -179,5 +179,6 @@ gunichar translate_unichar(guint keycode)
         if (unikey == (gunichar)-1 || unikey == (gunichar)-2 || unikey == 0)
             unikey = 0;
     }
+    g_free(key);
     return unikey;
 }