diff options
Diffstat (limited to 'source3/rpc_parse/parse_reg.c')
-rw-r--r-- | source3/rpc_parse/parse_reg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c index 57157ce17e..be452033fe 100644 --- a/source3/rpc_parse/parse_reg.c +++ b/source3/rpc_parse/parse_reg.c @@ -1484,8 +1484,9 @@ void init_reg_q_shutdown(REG_Q_SHUTDOWN *q_u, const char *msg, q_u->server = TALLOC_P( get_talloc_ctx(), uint16 ); *q_u->server = 0x1; + q_u->message = TALLOC_ZERO_P( get_talloc_ctx(), UNISTR4 ); + if ( msg && *msg ) { - q_u->message = TALLOC_P( get_talloc_ctx(), UNISTR4 ); init_unistr4( q_u->message, msg, UNI_FLAGS_NONE ); /* Win2000 is apparently very sensitive to these lengths */ |