diff options
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_winreg_spoolss.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/rpc_client/cli_winreg_spoolss.c b/source3/rpc_client/cli_winreg_spoolss.c index e3d8a3d205..2a6a8d1986 100644 --- a/source3/rpc_client/cli_winreg_spoolss.c +++ b/source3/rpc_client/cli_winreg_spoolss.c @@ -2187,9 +2187,8 @@ WERROR winreg_enum_printer_dataex(TALLOC_CTX *mem_ctx, } } - enum_names = talloc_move(mem_ctx, &enum_names); - enum_types = talloc_move(mem_ctx, &enum_types); - enum_data_blobs = talloc_move(mem_ctx, &enum_data_blobs); + talloc_steal(enum_values, enum_names); + talloc_steal(enum_values, enum_data_blobs); *pnum_values = num_values; if (penum_values) { |