From dd68faf648410d42c57631f481241edb3aad4878 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 10 Jan 2011 20:20:15 +0000 Subject: =?UTF-8?q?=E2=80=A2=20disabled=20in=20[SPTextView=20boundsDidChan?= =?UTF-8?q?geNotification]=20the=20view=20update=20to=20avoid=20incorrect?= =?UTF-8?q?=20line=20number=20rendering=20while=20scrolling=20until=20the?= =?UTF-8?q?=20problem=20is=20found=20why=20it=20causes=20some=20crashes=20?= =?UTF-8?q?=E2=80=A2=20fixed=20missing=20free()=20in=20[SPCopyTable=20exec?= =?UTF-8?q?uteBundleItemForDataTable]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPCopyTable.m | 1 + Source/SPTextView.m | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'Source') diff --git a/Source/SPCopyTable.m b/Source/SPCopyTable.m index 973dfecb..31b1e6d4 100644 --- a/Source/SPCopyTable.m +++ b/Source/SPCopyTable.m @@ -1263,6 +1263,7 @@ NSInteger kBlobAsImageFile = 4; [tableMetaData appendFormat:@"%@\n", [col objectForKey:@"comment"]]; } } + free(columnMappings); inputFileError = nil; [tableMetaData writeToFile:bundleInputTableMetaDataFilePath diff --git a/Source/SPTextView.m b/Source/SPTextView.m index 4867597a..30904ba8 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -3027,8 +3027,8 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) if(![[self textStorage] changeInLength]) [self performSelector:@selector(doSyntaxHighlighting) withObject:nil afterDelay:0.4]; } - else - [scrollView displayRect:[scrollView visibleRect]]; + // else + // [scrollView displayRect:[scrollView visibleRect]]; } -- cgit v1.2.3