summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-07-30 19:56:31 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-07-30 19:56:31 +0200
commita9fc2993478ba50558492bd250d17cac7c2a657c (patch)
tree84ec5ecfda5a0672f04b58c63bb86601e5d0b8ad
parent8f974b6dc2b0e73ab7486dcec52a0fc6656d9441 (diff)
MLKCons#-array: Nullify values before putting them into an NSArray.
-rw-r--r--MLKCons.m3
1 files changed, 2 insertions, 1 deletions
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 <Foundation/NSArray.h>
#import <Foundation/NSString.h>
@@ -90,7 +91,7 @@
while (rest)
{
- [array addObject:[rest car]];
+ [array addObject:nullify([rest car])];
rest = [rest cdr];
}