Skip to content

core: remove unnecessary pointer cleanup in BufferArea#22293

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
mshabunin:fix-buffer-area-uas
Jul 24, 2022
Merged

core: remove unnecessary pointer cleanup in BufferArea#22293
opencv-pushbot merged 1 commit intoopencv:3.4from
mshabunin:fix-buffer-area-uas

Conversation

@mshabunin
Copy link
Copy Markdown
Contributor

@mshabunin mshabunin commented Jul 24, 2022

resolves #22291

In some cases original pointers can go out of scope. We didn't really need to zero them.

I decided to leave DbgAssert for ptr, because it can theoretically help to debug some issues.

@mshabunin mshabunin force-pushed the fix-buffer-area-uas branch from 001b63e to f729202 Compare July 24, 2022 08:59
@opencv-pushbot opencv-pushbot merged commit 6ce2f13 into opencv:3.4 Jul 24, 2022
@mshabunin mshabunin deleted the fix-buffer-area-uas branch July 24, 2022 14:33
@alalek alalek mentioned this pull request Jul 26, 2022
This was referenced Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stack use after scope error with BufferArea

3 participants