summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-27 23:47:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:42 -0500
commit95ed275dbbff7c1e3a58a3d0c5408087ef9a0432 (patch)
tree45f65adabb61b97edbe40236d46b7cbd114ac6b6 /source4/scripting/ejs
parent3c265c79867e55a8118c2fa3c545a451e2b5e7e9 (diff)
downloadsamba-95ed275dbbff7c1e3a58a3d0c5408087ef9a0432.tar.gz
samba-95ed275dbbff7c1e3a58a3d0c5408087ef9a0432.tar.bz2
samba-95ed275dbbff7c1e3a58a3d0c5408087ef9a0432.zip
r9698: Fix a bit of memory management
More minor bugfixes Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn) (This used to be commit b7b079167d5c6616f7c5c4afb7dd80c15707cfd9)
Diffstat (limited to 'source4/scripting/ejs')
-rw-r--r--source4/scripting/ejs/mprutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/mprutil.c b/source4/scripting/ejs/mprutil.c
index 38cfd2c493..0e23738b30 100644
--- a/source4/scripting/ejs/mprutil.c
+++ b/source4/scripting/ejs/mprutil.c
@@ -323,7 +323,7 @@ struct MprVar mprNTSTATUS(NTSTATUS status)
struct MprVar mprDataBlob(DATA_BLOB blob)
{
struct MprVar res;
- struct data_blob *pblob = talloc(mprMemCtx(), struct data_blob);
+ DATA_BLOB *pblob = talloc(mprMemCtx(), DATA_BLOB);
*pblob = data_blob_talloc(pblob, blob.data, blob.length);
res = mprObject("DATA_BLOB");