mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Use data_blob_null instead of data_blob(NULL, 0)
This commit is contained in:
parent
a731eb64d9
commit
537b257cca
@ -653,7 +653,7 @@ bool asn1_read_OctetString(struct asn1_data *data, TALLOC_CTX *mem_ctx, DATA_BLO
|
||||
|
||||
if (data->has_error) {
|
||||
data_blob_free(blob);
|
||||
*blob = data_blob(NULL, 0);
|
||||
*blob = data_blob_null;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user