mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
parent
720a917205
commit
1d21a3dec9
@ -2402,6 +2402,9 @@ void sprintf_append(TALLOC_CTX *mem_ctx, char **string, ssize_t *len,
|
||||
|
||||
error:
|
||||
*len = -1;
|
||||
if (mem_ctx == NULL) {
|
||||
SAFE_FREE(*string);
|
||||
}
|
||||
*string = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user