Skip navigation

Challenge: Where to release memory

Challenge: Where to release memory: Windows Performance Toolkit: Detecting Memory Leaks
Challenge: Where to release memory: Windows Performance Toolkit: Detecting Memory Leaks

This OpenCV Bitmap blending application can be optimized, meaning the issues it is having with poor memory allocations that are resulting in the memory leaks can be fixed. There is an OpenCV API called cvReleaseImage(IplImage **img) that can be used to release memory that is no longer needed by an Bitmap image that has already been processed (blended). Where would you place this API in the source code to fix the application's memory leak issues?

Resume Transcript Auto-Scroll
Skill Level Intermediate
53m 32s
Duration
8,471
Views
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.