diff options
| author | Mike Wey | 2011-06-04 16:08:52 +0200 |
|---|---|---|
| committer | Mike Wey | 2011-06-04 16:08:52 +0200 |
| commit | 1fce41eff254b6cd0dcc8f1f280066248373066f (patch) | |
| tree | 326ce0eb41e4d372adf82bbfdf2a0b4dc00ea9e5 /dmagick/Exception.d | |
| parent | 7ad59892863ed44bbb53f23057a60b210d9ef7d4 (diff) | |
Add autoGamma, autoLevel, bilevel, blackThreshold, blend, blueShift, blur and border.
Diffstat (limited to 'dmagick/Exception.d')
| -rw-r--r-- | dmagick/Exception.d | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dmagick/Exception.d b/dmagick/Exception.d index 55532f0..5add259 100644 --- a/dmagick/Exception.d +++ b/dmagick/Exception.d @@ -55,6 +55,8 @@ class DMagickException : Exception string reason = to!(string)(exception.reason); string description = to!(string)(exception.description); + scope(exit) exception = DestroyExceptionInfo(exception); + mixin( { string exceptions = @@ -181,7 +183,6 @@ struct DMagickExceptionInfo if ( *refcount == 0 ) { DMagickException.throwException(exceptionInfo); - exceptionInfo = DestroyExceptionInfo(exceptionInfo); } } } |
