From 68ab243178c71f4d32de2b2104a721699854cd43 Mon Sep 17 00:00:00 2001 From: RKrom Date: Sun, 17 Mar 2013 17:14:34 +0000 Subject: [PATCH] Fixed dispose order, bug #1476 git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2533 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- Greenshot/Drawing/FreehandContainer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Greenshot/Drawing/FreehandContainer.cs b/Greenshot/Drawing/FreehandContainer.cs index 83c92663c..94fdbc78d 100644 --- a/Greenshot/Drawing/FreehandContainer.cs +++ b/Greenshot/Drawing/FreehandContainer.cs @@ -79,13 +79,13 @@ namespace Greenshot.Drawing { /// /// When disposing==true all non-managed resources should be freed too! protected override void Dispose(bool disposing) { + base.Dispose(disposing); if (disposing) { if (freehandPath != null) { freehandPath.Dispose(); } } freehandPath = null; - base.Dispose(disposing); } ///