First batch of corrections based on David's static analysis.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31337 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2010-09-12 16:34:22 +00:00
parent 26fcda321b
commit d08b23d9b0
15 changed files with 151 additions and 73 deletions

View file

@ -118,6 +118,7 @@ static GSThemeInspector *sharedInspector = nil;
iv = [[NSImageView alloc] initWithFrame: frame];
[iv setImage: [[GSTheme theme] icon]];
[content addSubview: iv];
RELEASE(iv);
width = cFrame.size.width - 58;
tf = new_label([theme name]);
@ -159,6 +160,7 @@ static GSThemeInspector *sharedInspector = nil;
frame.origin.y = nameFrame.origin.y - frame.size.height - 25;
[view setFrame: frame];
[content addSubview: view];
RELEASE(view);
}
details = [[theme infoDictionary] objectForKey: @"GSThemeDetails"];