From 95ed275dbbff7c1e3a58a3d0c5408087ef9a0432 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 27 Aug 2005 23:47:17 +0000 Subject: 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) --- source4/scripting/ejs/mprutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/ejs') 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"); -- cgit