Author: chromatic
Date: Tue Mar 27 23:43:04 2007
New Revision: 17806

Modified:
   trunk/src/pmc/parrotio.pmc

Log:
Destroy the underlying PIO structure when destroying a ParrotIO PMC.  This
fixes yet another memory leak.

Modified: trunk/src/pmc/parrotio.pmc
==============================================================================
--- trunk/src/pmc/parrotio.pmc  (original)
+++ trunk/src/pmc/parrotio.pmc  Tue Mar 27 23:43:04 2007
@@ -348,6 +348,7 @@
             else {
                 PIO_close(INTERP, SELF);
             }
+            PIO_destroy(interp, SELF);
         }
     }
 

Reply via email to