diff --git a/vcl/aqua/source/gdi/atsui/salgdi.cxx b/vcl/aqua/source/gdi/atsui/salgdi.cxx index 13fdd508682e..5e9140651d0e 100644 --- a/vcl/aqua/source/gdi/atsui/salgdi.cxx +++ b/vcl/aqua/source/gdi/atsui/salgdi.cxx @@ -320,7 +320,6 @@ AquaSalGraphics::~AquaSalGraphics() // destroy backbuffer bitmap context that we created ourself CGContextRelease( mrContext ); mrContext = NULL; - // memory is freed automatically by maOwnContextMemory } } diff --git a/vcl/coretext/salgdi2.cxx b/vcl/coretext/salgdi2.cxx index 801548a59d4e..402bd6030b86 100644 --- a/vcl/coretext/salgdi2.cxx +++ b/vcl/coretext/salgdi2.cxx @@ -293,7 +293,6 @@ AquaSalGraphics::~AquaSalGraphics() // destroy backbuffer bitmap context that we created ourself CGContextRelease( mrContext ); mrContext = NULL; - // memory is freed automatically by maOwnContextMemory } #endif }