From 8e298f965a827bcdcbce8b7f00972d2b19aa3170 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Thu, 30 Jan 2014 18:23:28 +0100 Subject: [PATCH] Adding another null check to prevent another crash --- src/video/video_systems.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/video_systems.cpp b/src/video/video_systems.cpp index f991ee400..d2810234b 100644 --- a/src/video/video_systems.cpp +++ b/src/video/video_systems.cpp @@ -153,7 +153,7 @@ VideoSystem::new_surface_data(const Surface &surface) void VideoSystem::free_surface_data(SurfaceData* surface_data) { - if(surface_data == null) + if(surface_data == NULL) return; delete surface_data; -- 2.11.0