mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
parent
5e48602456
commit
e37200a82e
@ -773,7 +773,7 @@ void *_talloc_realloc(const void *context, void *ptr, size_t size, const char *n
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* realloc(NULL) is equavalent to malloc() */
|
||||
/* realloc(NULL) is equivalent to malloc() */
|
||||
if (ptr == NULL) {
|
||||
return _talloc_named_const(context, size, name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user