From ae4b05479b941cac1f19842bc8a0aa61370d1792 Mon Sep 17 00:00:00 2001
From: Fredrik Thulin <fredrik@thulin.net>
Date: Fri, 14 Dec 2012 16:13:40 +0100
Subject: [PATCH] gck_rpc_layer_initialize: free() does not like const.

---
 gck-rpc-dispatch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gck-rpc-dispatch.c b/gck-rpc-dispatch.c
index 029e3a6..8ba41cb 100644
--- a/gck-rpc-dispatch.c
+++ b/gck-rpc-dispatch.c
@@ -2295,7 +2295,7 @@ int gck_rpc_layer_initialize(const char *prefix, CK_FUNCTION_LIST_PTR module)
 	if (!strncmp("tcp://", prefix, 6)) {
 		int one = 1, port;
 		char *p = NULL;
-		const char *ip;
+		char *ip;
 
 		ip = strdup(prefix + 6);
 		if (ip == NULL) {
-- 
GitLab