We dereference out in messaging_dgm_out_rearm_idle_timer().
Found by covscan.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
}
}
- messaging_dgm_out_rearm_idle_timer(out);
/*
* shouldn't be possible, should be set if messaging_dgm_out_create
* succeeded. This check is to satisfy static checker
if (out == NULL) {
return EINVAL;
}
+ messaging_dgm_out_rearm_idle_timer(out);
*pout = out;
return 0;