[Live-devel] Memory leak in BasicTaskScheduler0::scheduleDelayedTask
Ross Finlayson
finlayson at live555.com
Mon Jan 3 19:11:13 PST 2011
>It seems to be memory leak in BasicTaskScheduler0::scheduleDelayedTask.
No there's not.
> AlarmHandler* alarmHandler = new AlarmHandler(proc, clientData,
>timeToDelay); // here! where is 'delete'
It gets deleted later, when the handler gets called. (Note the
"delete this" in the implementation of
"DelayQueueEntry::handleTimeout()".)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list