Kaydet (Commit) 2ac15513 authored tarafından Caolán McNamara's avatar Caolán McNamara

mem leak in OutDevStackState

regression since cf3c6cb4

Change-Id: I74900c93a1aee87e7ae0a6fa58905f751a528756
üst 4d88c6de
......@@ -206,6 +206,7 @@ OutputDevice::~OutputDevice()
mpOutDevStateStack->pop_back();
}
}
delete mpOutDevStateStack;
// release the active font instance
if( mpFontEntry )
......@@ -213,11 +214,9 @@ OutputDevice::~OutputDevice()
// remove cached results of GetDevFontList/GetDevSizeList
// TODO: use smart pointers for them
if( mpGetDevFontList )
delete mpGetDevFontList;
delete mpGetDevFontList;
if( mpGetDevSizeList )
delete mpGetDevSizeList;
delete mpGetDevSizeList;
// release ImplFontCache specific to this OutputDevice
// TODO: refcount ImplFontCache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment