diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-27 23:47:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:42 -0500 |
commit | 95ed275dbbff7c1e3a58a3d0c5408087ef9a0432 (patch) | |
tree | 45f65adabb61b97edbe40236d46b7cbd114ac6b6 /source4/scripting/ejs/mprutil.c | |
parent | 3c265c79867e55a8118c2fa3c545a451e2b5e7e9 (diff) | |
download | samba-95ed275dbbff7c1e3a58a3d0c5408087ef9a0432.tar.gz samba-95ed275dbbff7c1e3a58a3d0c5408087ef9a0432.tar.xz 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/mprutil.c')
-rw-r--r-- | source4/scripting/ejs/mprutil.c | 2 |
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"); |