mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
fix a small memory leak, and get rid of two #ifndef's...
This commit is contained in:
@@ -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)";
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
paragraphStyle, NSParagraphStyleAttributeName, nil];
|
||||
|
||||
[stringShadow release];
|
||||
[paragraphStyle release];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user