diff options
Diffstat (limited to 'Source/TableSource.m')
-rw-r--r-- | Source/TableSource.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/TableSource.m b/Source/TableSource.m index 9dcc571c..d44efe3c 100644 --- a/Source/TableSource.m +++ b/Source/TableSource.m @@ -1342,6 +1342,7 @@ traps enter and esc and make/cancel editing without entering next row enumFields = [[NSMutableDictionary alloc] init]; currentlyEditingRow = -1; + defaultValues = nil; prefs = [NSUserDefaults standardUserDefaults]; } @@ -1361,8 +1362,8 @@ traps enter and esc and make/cancel editing without entering next row [tableFields release]; [indexes release]; [oldRow release]; - [defaultValues release]; [enumFields release]; + if (defaultValues) [defaultValues release]; [super dealloc]; } |