mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
leak fixing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32035 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0f24da3c66
commit
be3a8ecc45
10 changed files with 36 additions and 18 deletions
|
@ -874,7 +874,7 @@ static int verbose = 0;
|
|||
NSString *filename;
|
||||
|
||||
e = [HTMLDirectoryEnumerator alloc];
|
||||
e = [e initWithBasePath: pathOnDisk];
|
||||
e = [[e initWithBasePath: pathOnDisk] autorelease];
|
||||
[e setReturnsAbsolutePaths: YES];
|
||||
|
||||
while ((filename = [e nextObject]) != nil)
|
||||
|
@ -1056,7 +1056,7 @@ build_relocation_table_for_directory (NSString *dir)
|
|||
IF_NO_GC ([relocationTable autorelease];)
|
||||
|
||||
e = [HTMLDirectoryEnumerator alloc];
|
||||
e = [e initWithBasePath: dir];
|
||||
e = [[e initWithBasePath: dir] autorelease];
|
||||
/* The relocation table for a directory is relative to the
|
||||
directory top, so that the whole directory can be moved
|
||||
around without having to regenerate the .htmlink file. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue