Navigation Menu

Skip to content

Commit

Permalink
Free a leaking cfstr.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 26, 2005
1 parent 57a6339 commit c43f564
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui_carbon.c
Expand Up @@ -64,6 +64,7 @@ void ui_title(const char *str)
CFStringRef cfstr = CFStringCreateWithBytes(NULL, str, strlen(str),
kCFStringEncodingISOLatin1, 0);
SetWindowTitleWithCFString(window, cfstr);
CFRelease(cfstr);
ui_pump();
} /* ui_title */

Expand Down

0 comments on commit c43f564

Please sign in to comment.