Strange discovery in my code this evening - the line:
frame->Release();
was commented out ... but with no apparent issues in my program.
However, upon uncommenting it my program will stall almost immediately. No idea why or how it was commented, and unfortunately no idea when. Line count is in the 4 figures and I've spent time on most sections of it lately so I cant easily retrace my code additions to see what the clash is. (opencv project)
Keeping in mind it is working at the moment - two questions:
- ->is leaving it commented pretty much implementing a memory leak?
->what, if any other implications are there?