chiark / gitweb /
Code clean up and propper computation of foreign object sizes
[clg] / glib / gboxed.lisp
index 92b4f194499c243423cba80c567ae3ff75830ac9..78fd62be300c8fd96d7c2d091daac1a9dac3f5f4 100644 (file)
@@ -20,7 +20,7 @@
 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-;; $Id: gboxed.lisp,v 1.19 2005-04-23 16:48:50 espen Exp $
+;; $Id: gboxed.lisp,v 1.20 2006-02-04 12:15:31 espen Exp $
 
 (in-package "GLIB")
 
@@ -30,7 +30,7 @@ (defclass boxed (struct)
   (:metaclass struct-class))
 
 (defmethod instance-finalizer ((instance boxed))
-  (let ((location (proxy-location instance))
+  (let ((location (foreign-location instance))
        (type-number (type-number-of instance)))
     #'(lambda ()
        (remove-cached-instance location)