re PR java/14689 (jcf-path.c missing closedir)

PR java/14689:
	* jcf-path.c (jcf_path_extdirs_arg): Add missing closedir.

From-SVN: r79948
This commit is contained in:
Marcus Meissner 2004-03-25 09:14:45 +00:00 committed by Michael Matz
parent 7caf53cb82
commit f6e9619a5e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-03-25 Marcus Meissner <meissner@suse.de>
PR java/14689:
* jcf-path.c (jcf_path_extdirs_arg): Add missing closedir.
2004-03-23 Tom Tromey <tromey@redhat.com>
PR java/14315:

View file

@ -371,6 +371,8 @@ jcf_path_extdirs_arg (const char *cp)
add_entry (&extensions, name, 0);
}
}
if (dirp)
closedir (dirp);
}
if (! *endp)