[network-manager-openvpn/th/handle-child-process-bgo761299] service: fix freeing static, non-malloced logging string
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn/th/handle-child-process-bgo761299] service: fix freeing static, non-malloced logging string
- Date: Sun, 31 Jan 2016 18:15:24 +0000 (UTC)
commit edea191f2a12355b9b14d1027c36431521f84356
Author: Thomas Haller <thaller redhat com>
Date: Sun Jan 31 18:29:23 2016 +0100
service: fix freeing static, non-malloced logging string
src/nm-openvpn-service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-openvpn-service.c b/src/nm-openvpn-service.c
index 25909d1..4f04255 100644
--- a/src/nm-openvpn-service.c
+++ b/src/nm-openvpn-service.c
@@ -656,7 +656,7 @@ handle_management_socket (NMOpenvpnPlugin *plugin,
if (message) {
if (priv->interactive) {
if (debug) {
- char *joined = hints ? g_strjoinv (",", (char **) hints) :
"none";
+ char *joined = hints ? g_strjoinv (",", (char **) hints) :
g_strdup ("none");
g_message ("Requesting new secrets: '%s' (%s)", message,
joined);
g_free (joined);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]