2010-09-14 Hyung Song <beergun@company100.net>
[WebKit-https.git] / JavaScriptCore / wtf / brew / OwnPtrBrew.cpp
index 28046bd969817d72f6112d35cfc2ee1f117c7070..ce10fc3646365776f2346b9b9c8636087f1b0c2d 100644 (file)
@@ -28,6 +28,8 @@
 
 #include <AEEBitmap.h>
 #include <AEEFile.h>
+#include <AEEIMemGroup.h>
+#include <AEEIMemSpace.h>
 #include <AEENet.h>
 #include <AEESSL.h>
 #include <AEEStdLib.h>
@@ -58,6 +60,18 @@ void deleteOwnedPtr(ISSL* ptr)
         ISSL_Release(ptr);
 }
 
+void deleteOwnedPtr(IMemGroup* ptr)
+{
+    if (ptr)
+        IMemGroup_Release(ptr);
+}
+
+void deleteOwnedPtr(IMemSpace* ptr)
+{
+    if (ptr)
+        IMemSpace_Release(ptr);
+}
+
 void deleteOwnedPtr(ISocket* ptr)
 {
     if (ptr)