]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOFilterInterruptEventSource.cpp
xnu-517.tar.gz
[apple/xnu.git] / iokit / Kernel / IOFilterInterruptEventSource.cpp
index 708b9c90c679f7eccd5aeb3fefef5b57609307b6..6b516500f6e3e04ac541e9c6e187c7d165f10f4b 100644 (file)
@@ -77,9 +77,9 @@ OSMetaClassDefineReservedUnused(IOFilterInterruptEventSource, 7);
  * Implement the call throughs for the private protection conversion
  */
 bool IOFilterInterruptEventSource::init(OSObject *inOwner,
-                                        Action inAction = 0,
-                                        IOService *inProvider = 0,
-                                        int inIntIndex = 0)
+                                        Action inAction,
+                                        IOService *inProvider,
+                                        int inIntIndex)
 {
     return false;
 }
@@ -98,7 +98,7 @@ IOFilterInterruptEventSource::init(OSObject *inOwner,
                                    Action inAction,
                                    Filter inFilterAction,
                                    IOService *inProvider,
-                                   int inIntIndex = 0)
+                                   int inIntIndex)
 {
     if ( !super::init(inOwner, inAction, inProvider, inIntIndex) )
         return false;
@@ -115,13 +115,13 @@ IOFilterInterruptEventSource *IOFilterInterruptEventSource
                              Action inAction,
                              Filter inFilterAction,
                              IOService *inProvider,
-                             int inIntIndex = 0)
+                             int inIntIndex)
 {
     IOFilterInterruptEventSource *me = new IOFilterInterruptEventSource;
 
     if (me
     && !me->init(inOwner, inAction, inFilterAction, inProvider, inIntIndex)) {
-        me->free();
+        me->release();
         return 0;
     }