Procházet zdrojové kódy

* A missing check if (timer) still exists

svn: 1415
Bryan Drewery před 21 roky
rodič
revize
edb5bee90f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/egg_timer.c

+ 1 - 1
src/egg_timer.c

@@ -220,7 +220,7 @@ int timer_run()
 			free(timer);
 		}
 
-		timer->called++;
+		if (timer) timer->called++;
 		callback(client_data);
 	}
 	return(0);