Explorar el Código

* A missing check if (timer) still exists

svn: 1415
Bryan Drewery hace 21 años
padre
commit
edb5bee90f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/egg_timer.c

+ 1 - 1
src/egg_timer.c

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