summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/gp_socket.c')
-rw-r--r--proxy/src/gp_socket.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/proxy/src/gp_socket.c b/proxy/src/gp_socket.c
index c25854f..62d7dbc 100644
--- a/proxy/src/gp_socket.c
+++ b/proxy/src/gp_socket.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 the GSS-PROXY contributors, see COPYING for license */
+/* Copyright (C) 2011,2015 the GSS-PROXY contributors, see COPYING for license */
#include "config.h"
#include <stdlib.h>
@@ -146,6 +146,13 @@ static int set_fd_flags(int fd, int flags)
return 0;
}
+void free_unix_socket(verto_ctx *ctx, verto_ev *ev)
+{
+ struct gp_sock_ctx *sock_ctx = NULL;
+ sock_ctx = verto_get_private(ev);
+ free(sock_ctx);
+}
+
struct gp_sock_ctx *init_unix_socket(struct gssproxy_ctx *gpctx,
const char *file_name)
{