Net2/usr/src/contrib/isode/psap/ps_free.c

/* ps_free.c - free a presentation stream */

#ifndef	lint
static char *rcsid = "$Header: /f/osi/psap/RCS/ps_free.c,v 7.1 91/02/22 09:36:34 mrose Interim $";
#endif

/* 
 * $Header: /f/osi/psap/RCS/ps_free.c,v 7.1 91/02/22 09:36:34 mrose Interim $
 *
 *
 * $Log:	ps_free.c,v $
 * Revision 7.1  91/02/22  09:36:34  mrose
 * Interim 6.8
 * 
 * Revision 7.0  89/11/23  22:13:22  mrose
 * Release 6.0
 * 
 */

/*
 *				  NOTICE
 *
 *    Acquisition, use, and distribution of this module and related
 *    materials are subject to the restrictions of a license agreement.
 *    Consult the Preface in the User's Manual for the full terms of
 *    this agreement.
 *
 */


/* LINTLIBRARY */

#include <stdio.h>
#include "psap.h"

/*  */

void	ps_free (ps)
register PS	ps;
{
    if (ps -> ps_closeP)
	(void) (*ps -> ps_closeP) (ps);

    free ((char *) ps);
}