Skip to content
Commit 49f7d379 authored by Rui Matos's avatar Rui Matos Committed by Bastien Nocera
Browse files

region: Fix a couple of memory leaks

Unref the GSettings object and build the GnomeXkbInfo only
once. There's no need to free and keep rebuilding the latter since it
doesn't keep any state and is a bit expensive to build.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
parent 03f08fd3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment