diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-08-14 18:36:49 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-08-14 18:48:20 +0200 |
commit | 2de63aa2801a907905b3e05557074af5b896d486 (patch) | |
tree | 728094b47b5b26c0c073bf927db3c0443148d142 /docs-xml/Samba3-Developers-Guide | |
parent | 07af3f289e403396a9ddef744cf42e2badc1f1cc (diff) | |
download | samba-2de63aa2801a907905b3e05557074af5b896d486.tar.gz samba-2de63aa2801a907905b3e05557074af5b896d486.tar.bz2 samba-2de63aa2801a907905b3e05557074af5b896d486.zip |
talloc:documentation - explain that "talloc_free" works also with "NULL" pointers
(talloc.c)
...
> static inline int _talloc_free_internal(void *ptr, const char *location)
> {
> struct talloc_chunk *tc;
>
> if (unlikely(ptr == NULL)) {
> return -1;
> }
>
> tc = talloc_chunk_from_ptr(ptr);
...
Obviously this never had been documented before.
Diffstat (limited to 'docs-xml/Samba3-Developers-Guide')
0 files changed, 0 insertions, 0 deletions