diff options
Diffstat (limited to 'tikzit/src/common/GraphElementData.m')
-rw-r--r-- | tikzit/src/common/GraphElementData.m | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tikzit/src/common/GraphElementData.m b/tikzit/src/common/GraphElementData.m index a99a432..0750296 100644 --- a/tikzit/src/common/GraphElementData.m +++ b/tikzit/src/common/GraphElementData.m @@ -32,8 +32,10 @@ } - (id)init { - [super init]; - properties = [[NSMutableArray alloc] init]; + self = [super init]; + if (self) { + properties = [[NSMutableArray alloc] init]; + } return self; } |