From cd64b9a7cb4b9f0030d17917370f50753671b93a Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 29 May 2017 13:20:15 +0200 Subject: server: Avoid use-after-free MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported by Mantas Mikulėnas in: https://bugs.freedesktop.org/show_bug.cgi?id=101212 --- p11-kit/server.c | 1 - 1 file changed, 1 deletion(-) (limited to 'p11-kit') diff --git a/p11-kit/server.c b/p11-kit/server.c index 55bdc9b..8e54b28 100644 --- a/p11-kit/server.c +++ b/p11-kit/server.c @@ -662,7 +662,6 @@ main (int argc, } server = server_new ((const char **)argv, argc, provider, socket_name); - free (socket_name); if (server == NULL) { ret = 1; goto out; -- cgit v1.1