Update to ARC (probably introducing some leaks, probably fixing others).
[enjoyable.git] / JSActionHat.m
index 61241b9..13abcda 100644 (file)
@@ -32,7 +32,6 @@ NO,  NO,  YES, NO , // W
                                          [[SubAction alloc] initWithIndex: 1 name: @"Down" base: self],
                                          [[SubAction alloc] initWithIndex: 2 name: @"Left" base: self],
                                          [[SubAction alloc] initWithIndex: 3 name: @"Right" base: self]];
-               [subActions retain];
                name = @"Hat switch";
        }
        return self;