diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-21 22:18:32 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-22 12:47:53 +1100 |
commit | c5de880c409224889c30837b76fb2fdaf31c02e0 (patch) | |
tree | 1917aa84d3955da58c6af88bc58cdd5015e1009b /source4 | |
parent | c9838f0e135dc8d1aa46eb86e6fbc8a82c4ada3a (diff) | |
download | samba-c5de880c409224889c30837b76fb2fdaf31c02e0.tar.gz samba-c5de880c409224889c30837b76fb2fdaf31c02e0.tar.bz2 samba-c5de880c409224889c30837b76fb2fdaf31c02e0.zip |
s4-ldb: ldb_oom() for modules
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/ldb/include/ldb_module.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_module.h b/source4/lib/ldb/include/ldb_module.h index 6061c4d240..977d485ada 100644 --- a/source4/lib/ldb/include/ldb_module.h +++ b/source4/lib/ldb/include/ldb_module.h @@ -68,6 +68,7 @@ void ldb_debug_add(struct ldb_context *ldb, const char *fmt, ...) PRINTF_ATTRIBU void ldb_debug_end(struct ldb_context *ldb, enum ldb_debug_level level); #define ldb_oom(ldb) ldb_debug_set(ldb, LDB_DEBUG_FATAL, "ldb out of memory at %s:%d\n", __FILE__, __LINE__) +#define ldb_module_oom(module) ldb_oom(ldb_module_get_ctx(module)) /* The following definitions come from lib/ldb/common/ldb.c */ |