]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOTimerEventSource.cpp
xnu-517.9.5.tar.gz
[apple/xnu.git] / iokit / Kernel / IOTimerEventSource.cpp
index 7f42f247113dd7d722995c850ffbc3332817dc9a..fc6f7d0918df73921961d25027a266789cfacf3a 100644 (file)
@@ -103,7 +103,7 @@ IOTimerEventSource::timerEventSource(OSObject *inOwner, Action inAction)
     IOTimerEventSource *me = new IOTimerEventSource;
 
     if (me && !me->init(inOwner, inAction)) {
     IOTimerEventSource *me = new IOTimerEventSource;
 
     if (me && !me->init(inOwner, inAction)) {
-        me->free();
+        me->release();
         return 0;
     }
 
         return 0;
     }