From b3eba7f652093677713fa778b2dc81d9fd311523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Thu, 24 May 2012 12:45:21 +0000 Subject: [PATCH] [INTERPRETER] * NEW: You can free a null pointer. git-svn-id: svn://localhost/gambas/trunk@4772 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- main/gbx/gbx_class.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/gbx/gbx_class.c b/main/gbx/gbx_class.c index 5183a449c..d8cd78013 100644 --- a/main/gbx/gbx_class.c +++ b/main/gbx/gbx_class.c @@ -157,8 +157,7 @@ static void unload_class(CLASS *class) #endif - if (class->jit_functions) - FREE(&class->jit_functions, "unload_class"); + FREE(&class->jit_functions, "unload_class"); FREE(&class->load, "unload_class"); if (!class->mmapped)