Update of /cvsroot/pgsqlformac/QueryTool
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26779
Modified Files:
ChangeLog DataSource.m SqlDocument.m
Log Message:
More memory cleanup.
Index: DataSource.m
===================================================================
RCS file: /cvsroot/pgsqlformac/QueryTool/DataSource.m,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DataSource.m 8 Mar 2005 21:50:04 -0000 1.1.1.1
--- DataSource.m 12 Aug 2006 16:39:04 -0000 1.2
***************
*** 14,20 ****
{
[super init];
-
items = [[NSMutableArray alloc] init];
- [items retain];
return self;
--- 14,18 ----
***************
*** 26,30 ****
{
NSMutableDictionary *newItem = [[NSMutableDictionary alloc] init];
- [newItem retain];
[items addObject: newItem];
--- 24,27 ----
Index: SqlDocument.m
===================================================================
RCS file: /cvsroot/pgsqlformac/QueryTool/SqlDocument.m,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** SqlDocument.m 11 Aug 2006 18:03:09 -0000 1.16
--- SqlDocument.m 12 Aug 2006 16:39:04 -0000 1.17
***************
*** 169,187 ****
{
// create the schema explorer
! if (explorer) // we have already come through
! {
! ExplorerModel *tmp = explorer;
!
! explorer =[[ExplorerModel alloc] initWithConnection: conn];
! [schemaView setDataSource:explorer]; // explorer does the work.
! [schemaView setMenuActionTarget:self];
! [tmp release];
! }
! else
! {
! explorer =[[ExplorerModel alloc] initWithConnection: conn];
! [schemaView setDataSource:explorer]; // explorer does the work.
! [schemaView setMenuActionTarget:self];
! }
//[explorer printLog];
--- 169,176 ----
{
// create the schema explorer
! [explorer release];
! explorer =[[ExplorerModel alloc] initWithConnection: conn];
! [schemaView setDataSource:explorer]; // explorer does the work.
! [schemaView setMenuActionTarget:self];
//[explorer printLog];
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pgsqlformac/QueryTool/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ChangeLog 11 Aug 2006 18:03:09 -0000 1.10
--- ChangeLog 12 Aug 2006 16:39:04 -0000 1.11
***************
*** 1,2 ****
--- 1,6 ----
+ 2006-08-11 13:03 ntiffin
+
+ * ChangeLog, SqlDocument.m: Fix some compiler warnings.
+
2006-07-16 18:17 ntiffin
|