diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-20 15:30:57 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-20 15:50:27 +1000 |
commit | 45be1c7ba4382d85c742a241687bbc6d5a2ebd8c (patch) | |
tree | c9fabbf2b9566bad59f7d87d7461d7cff78396fa /source4/lib/ldb/ldb_tdb/ldb_search.c | |
parent | 773a8afbba27a5e2e48577100f3ca9873b506615 (diff) | |
download | samba-45be1c7ba4382d85c742a241687bbc6d5a2ebd8c.tar.gz samba-45be1c7ba4382d85c742a241687bbc6d5a2ebd8c.tar.bz2 samba-45be1c7ba4382d85c742a241687bbc6d5a2ebd8c.zip |
talloc: there is no ambiguity when freeing a ptr with a null parent
when a ptr has a single reference and a NULL parent, then
talloc_free(ptr) is not ambiguous, as the caller could not have done a
talloc_free(NULL) to free the memory
Pair-Programmed-With: Rusty Russell <rusty@samba.org>
Diffstat (limited to 'source4/lib/ldb/ldb_tdb/ldb_search.c')
0 files changed, 0 insertions, 0 deletions