[gnome-flashback] input-sources: properly free array of strings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] input-sources: properly free array of strings
- Date: Wed, 27 Apr 2016 15:50:24 +0000 (UTC)
commit 83349db2963a1d03282677a923d86f8b89d05315
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Apr 27 18:49:40 2016 +0300
input-sources: properly free array of strings
.../libinput-sources/gf-input-source-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/libinput-sources/gf-input-source-manager.c
b/gnome-flashback/libinput-sources/gf-input-source-manager.c
index 3d5fbb9..737abc4 100644
--- a/gnome-flashback/libinput-sources/gf-input-source-manager.c
+++ b/gnome-flashback/libinput-sources/gf-input-source-manager.c
@@ -201,7 +201,7 @@ switch_input_changed_cb (GSettings *settings,
break;
}
- g_free (keybindings);
+ g_strfreev (keybindings);
manager->switch_source_action = action;
}
@@ -236,7 +236,7 @@ switch_input_backward_changed_cb (GSettings *settings,
break;
}
- g_free (keybindings);
+ g_strfreev (keybindings);
manager->switch_source_backward_action = action;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]