]> git.ipfire.org Git - thirdparty/gcc.git/commit
parse.y (process_imports): Allocate (and free) original_name only when not already...
authorMark Wielaard <mark@klomp.org>
Sun, 9 Jan 2005 13:54:34 +0000 (13:54 +0000)
committerMark Wielaard <mark@gcc.gnu.org>
Sun, 9 Jan 2005 13:54:34 +0000 (13:54 +0000)
commitb927d3a45120ee708b6579bd482bb75d627ebd9d
tree36c506c4a7e19915d85364c6a0dde34fd15d7d22
parente1a5510b3d36fe1b0dfa1cb2c81cd6fdb1dd1c3d
parse.y (process_imports): Allocate (and free) original_name only when not already defined.

       * parse.y (process_imports): Allocate (and free) original_name only
       when not already defined.
       * jcf-parse.c (read_class): Free results of find_class() and
       lrealpath().
       (java_parse_file): Keep pointer to head of file_list and free when
       done. Free result of lrealpath().

From-SVN: r93109
gcc/java/ChangeLog
gcc/java/jcf-parse.c
gcc/java/parse.y