mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
Fix leaks
This commit is contained in:
parent
77c66e3d95
commit
088b76bed1
10 changed files with 71 additions and 65 deletions
|
@ -31,7 +31,7 @@ int main(int argc, char **argv)
|
|||
h = [s hash];
|
||||
PASS(h != 0, "[NSConstantString hash] does not return 0");
|
||||
|
||||
s = [[NSString alloc] initWithString: s];
|
||||
s = [NSString stringWithString: s];
|
||||
h = [s hash];
|
||||
PASS(h != 0, "[NSString hash] does not return 0");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue