fix a small memory leak, and get rid of two #ifndef's...

This commit is contained in:
Mitchell Livingston
2007-10-13 12:59:39 +00:00
parent 89d511e9dd
commit a57dd87d47
4 changed files with 4 additions and 10 deletions

View File

@@ -1797,6 +1797,9 @@
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_SHADOW = NO;
GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_UNUSED_FUNCTION = NO;
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
OTHER_CFLAGS = "$(inherited)";

View File

@@ -22,9 +22,6 @@
* DEALINGS IN THE SOFTWARE.
*****************************************************************************/
#ifndef CONTROLLER_H
#define CONTROLLER_H
#import <Cocoa/Cocoa.h>
#import <transmission.h>
#import "PrefsController.h"
@@ -235,5 +232,3 @@
- (void) prepareForUpdate: (NSNotification *) notification;
@end
#endif

View File

@@ -66,6 +66,7 @@
paragraphStyle, NSParagraphStyleAttributeName, nil];
[stringShadow release];
[paragraphStyle release];
}
return self;
}

View File

@@ -22,9 +22,6 @@
* DEALINGS IN THE SOFTWARE.
*****************************************************************************/
#ifndef IPCCONTROLLER_H
#define IPCCONTROLLER_H
#import <Cocoa/Cocoa.h>
#include "ipcparse.h"
@@ -66,5 +63,3 @@
- (void) setDelegate: (id) newdelegate;
@end
#endif