Changeset 4078


Ignore:
Timestamp:
Dec 6, 2007, 1:07:56 AM (14 years ago)
Author:
livings124
Message:

fix a memory leak

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/English.lproj/MainMenu.nib/info.nib

    r4075 r4078  
    1010        <integer>5</integer>
    1111        <key>IBOpenObjects</key>
    12         <array/>
     12        <array>
     13                <integer>1480</integer>
     14        </array>
    1315        <key>IBSystem Version</key>
    1416        <string>9B18</string>
  • trunk/macosx/PrefsController.m

    r4076 r4078  
    383383- (BOOL) control: (NSControl *) control textShouldBeginEditing: (NSText *) fieldEditor
    384384{
    385     #warning release!
     385    [fInitialString release];
    386386    fInitialString = [[control stringValue] retain];
     387   
     388    return YES;
    387389}
    388390
     
    391393    NSBeep();
    392394    if (fInitialString)
     395    {
    393396        [control setStringValue: fInitialString];
     397        [fInitialString release];
     398        fInitialString = nil;
     399    }
    394400    return NO;
    395401}
     402
    396403
    397404- (void) setBadge: (id) sender
Note: See TracChangeset for help on using the changeset viewer.