git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109c916
)
r4546: Use talloc_p() instad of talloc()
author
Tim Potter
<tpot@samba.org>
Thu, 6 Jan 2005 02:10:33 +0000
(
02:10
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:08:20 +0000
(13:08 -0500)
source/scripting/swig/dcerpc.i
patch
|
blob
|
history
diff --git
a/source/scripting/swig/dcerpc.i
b/source/scripting/swig/dcerpc.i
index 27afb6471c84e45d6cf5d5ca840fccba41a5c6ed..487876c2fbd7f293cd11fd23965f639649a2fdb6 100644
(file)
--- a/
source/scripting/swig/dcerpc.i
+++ b/
source/scripting/swig/dcerpc.i
@@
-313,7
+313,7
@@
void DATA_BLOB_ptr_from_python(TALLOC_CTX *mem_ctx, DATA_BLOB **s,
return;
}
- *s = talloc
(mem_ctx, sizeof(DATA_BLOB)
);
+ *s = talloc
_p(mem_ctx, DATA_BLOB
);
(*s)->length = PyString_Size(obj);
(*s)->data = PyString_AsString(obj);