summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_drivers_conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_spoolss_drivers_conv.c')
-rw-r--r--source3/python/py_spoolss_drivers_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_spoolss_drivers_conv.c b/source3/python/py_spoolss_drivers_conv.c
index ae196c1903..8ad6d88493 100644
--- a/source3/python/py_spoolss_drivers_conv.c
+++ b/source3/python/py_spoolss_drivers_conv.c
@@ -99,7 +99,7 @@ static uint16 *to_dependentfiles(PyObject *list, TALLOC_CTX *mem_ctx)
size+=PyString_Size(borrowedRef)+1;
}
- if (!(ret = (uint16*) talloc(mem_ctx,(size+1)*sizeof(uint16))))
+ if (!(ret = (uint16*)_talloc(mem_ctx,((size+1)*sizeof(uint16)))))
goto done;
/* create null terminated sequence of null terminated strings */