diff options
Diffstat (limited to 'source4/heimdal/lib/asn1/der_free.c')
-rw-r--r-- | source4/heimdal/lib/asn1/der_free.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/heimdal/lib/asn1/der_free.c b/source4/heimdal/lib/asn1/der_free.c index c3a6a17fff..6827486d9f 100644 --- a/source4/heimdal/lib/asn1/der_free.c +++ b/source4/heimdal/lib/asn1/der_free.c @@ -33,7 +33,7 @@ #include "der_locl.h" -RCSID("$Id: der_free.c,v 1.13 2006/10/14 05:30:47 lha Exp $"); +RCSID("$Id: der_free.c,v 1.14 2006/12/28 17:14:21 lha Exp $"); void der_free_general_string (heim_general_string *str) @@ -80,6 +80,13 @@ der_free_universal_string (heim_universal_string *k) } void +der_free_visible_string (heim_visible_string *str) +{ + free(*str); + *str = NULL; +} + +void der_free_octet_string (heim_octet_string *k) { free(k->data); |