From 098f4afa91cf6385e887544072cdb07d41df046d Mon Sep 17 00:00:00 2001 From: "vva@genie.(none)" <> Date: Mon, 9 Sep 2002 14:40:24 +0500 Subject: fix bug for slave.. --- mysys/thr_alarm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysys') diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c index 11e6fa97ab6..5bf1bb643e6 100644 --- a/mysys/thr_alarm.c +++ b/mysys/thr_alarm.c @@ -688,7 +688,7 @@ bool thr_got_alarm(thr_alarm_t *alrm_ptr) void thr_end_alarm(thr_alarm_t *alrm_ptr) { thr_alarm_t alrm= *alrm_ptr; - if (alrm->crono) + if (alarm && alrm->crono) { KillTimer(NULL, alrm->crono); alrm->crono = 0; -- cgit v1.2.1