diff options
Diffstat (limited to 'source4/lib/registry/registry.i')
-rw-r--r-- | source4/lib/registry/registry.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/registry.i b/source4/lib/registry/registry.i index b33b99c0c2..cbd5fe8793 100644 --- a/source4/lib/registry/registry.i +++ b/source4/lib/registry/registry.i @@ -63,11 +63,11 @@ const char *str_regtype(int type); $result = SWIG_NewPointerObj(*$1, SWIGTYPE_p_registry_context, 0); } -%typemap(in,noblock=1) struct smb_iconv_convenience * { +%typemap(in,noblock=1,numinputs=0) struct smb_iconv_convenience *ic { $1 = py_iconv_convenience(NULL); } -%typemap(freearg,noblock=1) struct smb_iconv_convenience * { +%typemap(freearg,noblock=1) struct smb_iconv_convenience *ic { talloc_free($1); } |