Changeset 13133


Ignore:
Timestamp:
01/10/11 22:01:37 (11 years ago)
Author:
ehuelsmann
Message:

Backport r13132: fixed memory leak upon package deletion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.24.x/abcl/src/org/armedbear/lisp/Package.java

    r12977 r13133  
    162162    {
    163163        if (name != null) {
     164            LispObject usedPackages = useList;
     165            while (usedPackages != NIL) {
     166                Package pkg = (Package) usedPackages.car();
     167                unusePackage(pkg);
     168                usedPackages = usedPackages.cdr();
     169            }
     170
    164171            Packages.deletePackage(this);
    165172
Note: See TracChangeset for help on using the changeset viewer.