[Live-devel] [live-devel] memory leak using scheduledelayedtask

Siddhant Agarwal siddhant.agarwal at staqu.com
Mon May 11 23:01:13 PDT 2020


Hi,

I am using scheduleDelayedTask to execute a function dummytask repeatedly.
Code:
void dummytask()
{
.
.
.
env->taskScheduler().scheduleDelayedTask(uSecsToDelay,
                                            (TaskFunc*)dummyTask, NULL);
}
int main()
{
.
.
.
dummytask();
env->taskScheduler().doEventLoop();
}

I am getting a memory leak in my code. Where am I doing wrong ?
I am using live555 proxyserver with rtsp over tcp (-t) option.

Regards,
Siddhant Agarwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20200512/7289897b/attachment.htm>


More information about the live-devel mailing list