Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Oct 25, 2024
1 parent e04b687 commit 5d06194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Adapter/GD.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ public function __construct()

public function __destruct()
{
if (!$this->resource)
if ($this->resource) {
imagedestroy($this->resource);
}
}

/**
Expand Down

0 comments on commit 5d06194

Please sign in to comment.