summaryrefslogtreecommitdiffstats
path: root/macosx/NSCodingMacro.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/NSCodingMacro.h')
-rw-r--r--macosx/NSCodingMacro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/NSCodingMacro.h b/macosx/NSCodingMacro.h
index 842da1121..7cfbfc755 100644
--- a/macosx/NSCodingMacro.h
+++ b/macosx/NSCodingMacro.h
@@ -18,6 +18,6 @@
#define decodeInteger(x) x = [decoder decodeIntegerForKey:OBJC_STRINGIFY(x)]
#define decodeBool(x) x = [decoder decodeBoolForKey:OBJC_STRINGIFY(x)]
#define decodeDouble(x) x = [decoder decodeDoubleForKey:OBJC_STRINGIFY(x)]
-#define decodeObject(x) x = [[decoder decodeObjectForKey:OBJC_STRINGIFY(x)] retain]
+#define decodeObject(x) x = [decoder decodeObjectForKey:OBJC_STRINGIFY(x)]
#endif