From d238aed8b9de81d406f13c5db3cc087bee8d64d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Tue, 21 Apr 2020 19:26:46 +0200 Subject: rhi: fix another memory leak Change-Id: Ic69192398efc06e418f9d768a61a55e037041611 Reviewed-by: Paul Lemire --- src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp b/src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp index 76a336e18..b2999c287 100644 --- a/src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp +++ b/src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp @@ -679,7 +679,6 @@ bool SubmissionContext::beginDrawing(QSurface *surface) void SubmissionContext::endDrawing(bool swapBuffers) { m_rhi->endFrame(m_currentSwapChain, {}); - m_currentUpdates = nullptr; RHI_UNIMPLEMENTED; //* if (swapBuffers) -- cgit v1.2.3