[gnome-flashback/gnome-3-18] input-sources: properly free array of strings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback/gnome-3-18] input-sources: properly free array of strings
- Date: Thu, 28 Apr 2016 21:27:29 +0000 (UTC)
commit 36affd6f1c3189ed0baad05564b55fb2c3ad44d4
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]