sd/source/ui/view/drviewsf.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit a602bd1a69db5c6b4e0fa818324cdf4e0088778c Author: Mark Wielaard <m...@klomp.org> Date: Fri May 24 08:55:45 2013 +0200 Fix memory leak in DrawViewShell::GetAttrState(). DrawViewShell::GetAttrState() might create a temporary new SvxNumRule object. Make sure it gets deleted when done. Change-Id: I33ddd9df983193fe87dd076267043d202cdfc3d5 Reviewed-on: https://gerrit.libreoffice.org/4020 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx index 4989cd2..89c90d0 100644 --- a/sd/source/ui/view/drviewsf.cxx +++ b/sd/source/ui/view/drviewsf.cxx @@ -630,9 +630,10 @@ void DrawViewShell::GetAttrState( SfxItemSet& rSet ) } } } + delete pNumRule; } } - break; + break; //End // Added by Li Hui for story 179. case FN_NUM_BULLET_ON:
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits