summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_sqlite3/base160.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-13 00:05:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:29 -0500
commit1a5978445199a1d8697a5604761899aa065059fe (patch)
tree7d6dd6ac85243bc6b20d8bed7455f1d02a54cbf6 /source4/lib/ldb/ldb_sqlite3/base160.c
parentd21cb7e2d29a8c496bb139b5f8086949305e76a2 (diff)
downloadsamba-1a5978445199a1d8697a5604761899aa065059fe.tar.gz
samba-1a5978445199a1d8697a5604761899aa065059fe.tar.bz2
samba-1a5978445199a1d8697a5604761899aa065059fe.zip
r18435: added a function talloc_move() which is like talloc_steal(), but is
meant for moving pointers between structures. The difference is that talloc_move() will zero the source pointer, thus ensuring you don't reference the pointer in the old context. talloc_move() is appropriate in some, but not all cases where we use talloc_steal() now. The interface came out of a discussion with Jeremy. (This used to be commit 200756017e1867faa207703eddc00a75ae4527df)
Diffstat (limited to 'source4/lib/ldb/ldb_sqlite3/base160.c')
0 files changed, 0 insertions, 0 deletions