---
name: "gss_release_buffer"
section: "3"
platform: "linux"
package: "gss-man"
version: "1.0.4-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gss_release_buffer"
---

# gss\_release\_buffer(3)

API function

## NAME

gss\_release\_buffer - API function

## SYNOPSIS

**#include \<gss.h\>**

**OM\_uint32 gss\_release\_buffer(OM\_uint32 \*** *minor\_status***, gss\_buffer\_t** *buffer***);**

## ARGUMENTS

- OM\_uint32 \* minor\_status

  (integer, modify) Mechanism specific status code.

- gss\_buffer\_t buffer

  (buffer, modify) The storage associated with the buffer\
     will be deleted.  The gss\_buffer\_desc object will not be freed,\
     but its length field will be zeroed.

## DESCRIPTION

Free storage associated with a buffer.  The storage must have been allocated by a GSS-API routine.  In addition to freeing the associated storage, the routine will zero the length field in the descriptor to which the buffer parameter refers, and implementations are encouraged to additionally set the pointer field in the descriptor to NULL.  Any buffer object returned by a GSS-API routine may be passed to gss\_release\_buffer (even if there is no storage associated with the buffer).

## RETURN VALUE

\`GSS\_S\_COMPLETE\`: Successful completion.

## REPORTING BUGS

Report bugs to \<bug-gss@gnu.org\>. GNU Generic Security Service home page: http://www.gnu.org/software/gss/ General help using GNU software: http://www.gnu.org/gethelp/

## COPYRIGHT

Copyright © 2003-2022 Simon Josefsson.\
 Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

## SEE ALSO

The full documentation for **gss** is maintained as a Texinfo manual.  If the **info** and **gss** programs are properly installed at your site, the command

-

  **info gss**

should give you access to the complete manual.
