summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/rel_buffer.c
blob: 022969c08b50717d208a997dcb68a028d4279b8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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);
}