diff options
author | Jeremy Allison <jra@samba.org> | 2006-03-31 00:44:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:49 -0500 |
commit | 15ebf2cd2908415491c2710caa2ee7f3e0ef47ef (patch) | |
tree | bf06957e4e633406c0261d77d314ac61abee5caf | |
parent | 2b86a5b4ed260a42f2771c9e2c5f83268f64a8b1 (diff) | |
download | samba-15ebf2cd2908415491c2710caa2ee7f3e0ef47ef.tar.gz samba-15ebf2cd2908415491c2710caa2ee7f3e0ef47ef.tar.xz samba-15ebf2cd2908415491c2710caa2ee7f3e0ef47ef.zip |
r14829: Fix reversed test in coverity fixes.
Jeremy.
(This used to be commit f1b4e870a52cbd7bb780b206e943987648523060)
-rw-r--r-- | source3/rpc_parse/parse_reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c index a226bbb1d75..fef1332e5c7 100644 --- a/source3/rpc_parse/parse_reg.c +++ b/source3/rpc_parse/parse_reg.c @@ -1117,7 +1117,7 @@ void init_reg_q_enum_val(REG_Q_ENUM_VALUE *q_u, POLICY_HND *pol, q_u->value->buf_max_len = max_buf_len; q_u->buffer_len = TALLOC_P( get_talloc_ctx(), uint32 ); - if (q_u->buffer_len) { + if (!q_u->buffer_len) { smb_panic("init_reg_q_enum_val: talloc fail\n"); return; } |