From a9fc2993478ba50558492bd250d17cac7c2a657c Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Wed, 30 Jul 2008 19:56:31 +0200 Subject: MLKCons#-array: Nullify values before putting them into an NSArray. --- MLKCons.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MLKCons.m') diff --git a/MLKCons.m b/MLKCons.m index 6b6cc8b..d7063dc 100644 --- a/MLKCons.m +++ b/MLKCons.m @@ -19,6 +19,7 @@ #import "MLKCons.h" #import "MLKPackage.h" #import "runtime-compatibility.h" +#import "util.h" #import #import @@ -90,7 +91,7 @@ while (rest) { - [array addObject:[rest car]]; + [array addObject:nullify([rest car])]; rest = [rest cdr]; } -- cgit v1.2.3