diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2013-03-25 18:15:11 +0000 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2013-03-25 18:36:52 +0000 |
commit | 0f969b6ced7e9ebcbe4bc4e17867ff32d67f27bb (patch) | |
tree | 9632ffa948332d8636c15537cb19356781a215ec /tikzit/src/common/GraphElementProperty.h | |
parent | 1b83e14b1f5640881deeb03c1d11df5197746b64 (diff) |
Catch some memory leaks
Memory usage on Linux no longer shoots up after running the tikz parser
a handful of times.
Diffstat (limited to 'tikzit/src/common/GraphElementProperty.h')
-rw-r--r-- | tikzit/src/common/GraphElementProperty.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tikzit/src/common/GraphElementProperty.h b/tikzit/src/common/GraphElementProperty.h index 029e7f3..057cdbb 100644 --- a/tikzit/src/common/GraphElementProperty.h +++ b/tikzit/src/common/GraphElementProperty.h @@ -35,8 +35,8 @@ BOOL isKeyMatch; } -@property (readwrite,retain) NSString *key; -@property (readwrite,retain) NSString *value; +@property (copy) NSString *key; +@property (copy) NSString *value; @property (readonly) BOOL isAtom; @property (readonly) BOOL isKeyMatch; |