Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-15 20:38:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-15 20:38:48 +0400
commit0c7a25cd0ec8e1aaa853de6f5ec67e030917e15a (patch)
tree598c1092743b1c7d0707f5bf93a200a443197198 /source/blender/windowmanager/intern/wm_apple.c
parentf403d9a2b1128565c503755668c7bc001ecb2eb3 (diff)
patch [#28993] wm_window_match_do(): Fix crash on null pointer dereference
from Ola Jeppsson (olajep) also some cleanup edits
Diffstat (limited to 'source/blender/windowmanager/intern/wm_apple.c')
-rw-r--r--source/blender/windowmanager/intern/wm_apple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_apple.c b/source/blender/windowmanager/intern/wm_apple.c
index c19523cbaee..e17441873d5 100644
--- a/source/blender/windowmanager/intern/wm_apple.c
+++ b/source/blender/windowmanager/intern/wm_apple.c
@@ -98,8 +98,8 @@ static int checkAppleVideoCard(void)
StandardAlert ( kAlertStopAlert, (ConstStr255Param) &inError, (ConstStr255Param)&inText,NULL,&junkHit);
abort();
}
-CGLDestroyRendererInfo (rend);
-return 0;
+ CGLDestroyRendererInfo (rend);
+ return 0;
}
static void getMacAvailableBounds(short *top, short *left, short *bottom, short *right)