mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
talloc: Fix documentation typo
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Mon Jan 22 11:11:38 CET 2018 on sn-devel-144
This commit is contained in:
parent
33c0f5599d
commit
9daf40c55a
@ -1226,7 +1226,7 @@ size_t talloc_array_length(const void *ctx);
|
||||
*
|
||||
* @code
|
||||
* ptr = talloc_array(ctx, type, count);
|
||||
* if (ptr) memset(ptr, sizeof(type) * count);
|
||||
* if (ptr) memset(ptr, 0, sizeof(type) * count);
|
||||
* @endcode
|
||||
*/
|
||||
void *talloc_zero_array(const void *ctx, #type, unsigned count);
|
||||
|
Loading…
x
Reference in New Issue
Block a user