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);
}
///