diff --git a/cplusplus/VImage.cpp b/cplusplus/VImage.cpp index 93b2e56e..e04be4fa 100644 --- a/cplusplus/VImage.cpp +++ b/cplusplus/VImage.cpp @@ -465,8 +465,7 @@ VImage::call_option_string( const char *operation_name, operation_name ); if( !(operation = vips_operation_new( operation_name )) ) { - if( options ) - delete options; + delete options; throw( VError() ); }