mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r20277: make sure the asn1 structure has a welldefined state after a asn1_free()
metze
This commit is contained in:
parent
c4733b20c7
commit
7e7d1a1da2
@ -25,6 +25,8 @@
|
||||
void asn1_free(struct asn1_data *data)
|
||||
{
|
||||
talloc_free(data->data);
|
||||
ZERO_STRUCTP(data);
|
||||
data->has_error = True;
|
||||
}
|
||||
|
||||
/* write to the ASN1 buffer, advancing the buffer pointer */
|
||||
|
Loading…
Reference in New Issue
Block a user