[network-manager-openvpn/th/handle-child-process-bgo761299: 4/5] 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: 4/5] service: fix freeing static, non-malloced logging string
- Date: Tue, 2 Feb 2016 15:22:30 +0000 (UTC)
commit b049ae79241955f09ff7ca90273d9da47b64429e
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 151f87d..444e2f6 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]