Remove leaked resource error from wd_resource_state_is_ok

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
This commit is contained in:
Steven Dake 2012-02-06 12:59:33 -07:00
parent 190dba3933
commit c05cbb65bc

View File

@ -222,6 +222,7 @@ static int32_t wd_resource_state_is_ok (struct resource *ref)
"last_updated %"PRIu64" ms too late, period:%"PRIu64".",
(uint64_t)(my_time/MILLI_2_NANO_SECONDS - ((last_updated + allowed_period) / MILLI_2_NANO_SECONDS)),
ref->check_timeout);
free(state);
return CS_FALSE;
}