Windows global stuff:
[krb5.git] / src / lib / krb5 / free / f_addr.c
1 /*
2  * lib/krb5/free/f_addr.c
3  *
4  * Copyright 1990 by the Massachusetts Institute of Technology.
5  *
6  * Export of this software from the United States of America may
7  *   require a specific license from the United States Government.
8  *   It is the responsibility of any person or organization contemplating
9  *   export to obtain such a license before exporting.
10  * 
11  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
12  * distribute this software and its documentation for any purpose and
13  * without fee is hereby granted, provided that the above copyright
14  * notice appear in all copies and that both that copyright notice and
15  * this permission notice appear in supporting documentation, and that
16  * the name of M.I.T. not be used in advertising or publicity pertaining
17  * to distribution of the software without specific, written prior
18  * permission.  M.I.T. makes no representations about the suitability of
19  * this software for any purpose.  It is provided "as is" without express
20  * or implied warranty.
21  * 
22  *
23  * krb5_free_address()
24  */
25
26 #include "k5-int.h"
27
28 void
29 krb5_free_address(context, val)
30     krb5_context context;
31     krb5_address *val;
32 {
33     if (val->contents)
34         krb5_xfree(val->contents);
35     krb5_xfree(val);
36     return;
37 }