[svn:parrot] r42463 - trunk/src/pmc

darbelo at svn.parrot.org darbelo at svn.parrot.org
Thu Nov 12 22:00:50 UTC 2009


Author: darbelo
Date: Thu Nov 12 22:00:50 2009
New Revision: 42463
URL: https://trac.parrot.org/parrot/changeset/42463

Log:
Remove an unneeded and unused destroy() VTABLE.

Modified:
   trunk/src/pmc/packfiledirectory.pmc

Modified: trunk/src/pmc/packfiledirectory.pmc
==============================================================================
--- trunk/src/pmc/packfiledirectory.pmc	Thu Nov 12 21:51:24 2009	(r42462)
+++ trunk/src/pmc/packfiledirectory.pmc	Thu Nov 12 22:00:50 2009	(r42463)
@@ -68,27 +68,6 @@
 
 /*
 
-=item C<void destroy()>
-
-Destroys the PMC and frees all allocated memory.
-
-=cut
-
-*/
-
-    VTABLE void destroy() {
-        Parrot_PackfileDirectory_attributes * attrs =
-                PARROT_PACKFILEDIRECTORY(SELF);
-
-        if (attrs) {
-            mem_sys_free(attrs);
-            PMC_data(SELF) = NULL;
-        }
-    }
-
-
-/*
-
 =item C<void set_pointer(void *ptr)>
 
 Initialize PackfileDirectory from PackFile_Directory.


More information about the parrot-commits mailing list