summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/rel_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/gssapi/rel_buffer.c')
-rw-r--r--src/lib/gssapi/rel_buffer.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib/gssapi/rel_buffer.c b/src/lib/gssapi/rel_buffer.c
new file mode 100644
index 000000000..022969c08
--- /dev/null
+++ b/src/lib/gssapi/rel_buffer.c
@@ -0,0 +1,28 @@
+/*
+ * rel_buffer.c --- release a gss_buffer_t
+ *
+ * $Source$
+ * $Author$
+ * $Header$
+ *
+ * Copyright 1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/copyright.h>.
+ *
+ */
+
+#include <gssapi.h>
+
+OM_uint32 gss_release_buffer(minor_status, buffer)
+ OM_uint32 *minor_status;
+ gss_buffer_t buffer;
+{
+ *minor_status = 0;
+
+ free(buffer->value);
+ return(GSS_S_COMPLETE);
+}
+
+