From 55f06698ed6feb7c4d04b1d7282f86f6a12fcdc1 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 15 Nov 2015 01:08:27 +0100 Subject: [PATCH] Fix a leak in RefCountedFrame. --- ref_counted_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref_counted_frame.cpp b/ref_counted_frame.cpp index 0b754ed..0478581 100644 --- a/ref_counted_frame.cpp +++ b/ref_counted_frame.cpp @@ -4,6 +4,6 @@ void release_refcounted_frame(FrameAllocator::Frame *frame) { if (frame->owner) { frame->owner->release_frame(*frame); - delete frame; } + delete frame; } -- 2.39.2