diff --git a/imageapi_gd.module b/imageapi_gd.module
index 627b15a..4bbee80 100644
--- a/imageapi_gd.module
+++ b/imageapi_gd.module
@@ -50,8 +50,7 @@ function imageapi_gd_unsharp_mask($img, $radius, $sigma, $amount, $threshold)
 
   $radius = abs(round($radius)); // Only integers make sense.
   if ($radius == 0) {
-    return $img; imagedestroy($img);
-    break;
+    return $img;
   }
 
   $w = imagesx($img); $h = imagesy($img);
