diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/param/pyparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c index 8786ab67bb..979182c678 100644 --- a/source4/param/pyparam.c +++ b/source4/param/pyparam.c @@ -43,7 +43,7 @@ PyAPI_DATA(PyTypeObject) PyLoadparmService; PyObject *PyLoadparmService_FromService(struct loadparm_service *service) { - return py_talloc_import(&PyLoadparmService, service); + return py_talloc_reference(&PyLoadparmService, service); } static PyObject *py_lp_ctx_get_helper(struct loadparm_context *lp_ctx, const char *service_name, const char *param_name) |