• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-c誰得cocoaqtpythonrubywindowsphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

OpengateM Source Repository


Commit MetaInfo

Revisão24935028c39c06f780498b2dc3ea4065f60ff4eb (tree)
Hora2016-07-04 11:45:23
Autorwatanaby <watanaby@user...>
Commiterwatanaby

Mensagem de Log

added a null pointer check in alarm

Mudança Sumário

Diff

--- a/mngsrc/alarms.c
+++ b/mngsrc/alarms.c
@@ -265,8 +265,8 @@ int delAlarmListItem(Alarm *pDel){
265265 Alarm *p;
266266 Alarm *pPrev;
267267
268- /* if the item is none, no proc */
269- if(pDel==NULL){
268+ /* if item or list is none, no proc */
269+ if(pDel==NULL || pAlarmTop==NULL){
270270 /* no proc */
271271 }
272272