- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the following code :
MyTask& cefft = *new( tbb::task::allocate_root() )MyTask(...)
...
cefft.execute();
The memory tool (Inspector) reports memory leak here.
I didn't delete cefft task as when I tried, I got glibc error. I saw tbb task example didn't delete task allocated like this.
Is there a proper way to delete this task? Why the Inspector reports memory leak?
MyTask& cefft = *new( tbb::task::allocate_root() )MyTask(...)
...
cefft.execute();
The memory tool (Inspector) reports memory leak here.
I didn't delete cefft task as when I tried, I got glibc error. I saw tbb task example didn't delete task allocated like this.
Is there a proper way to delete this task? Why the Inspector reports memory leak?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page