Fix leaks

This commit is contained in:
rfm 2024-11-15 21:21:41 +00:00
parent 77c66e3d95
commit 088b76bed1
10 changed files with 71 additions and 65 deletions

View file

@ -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");