Skip to content

Commit

Permalink
destroy image to free up resources
Browse files Browse the repository at this point in the history
  • Loading branch information
BigMichi1 committed Aug 5, 2013
1 parent 8fc76b6 commit 9d3ebab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Text/CAPTCHA/Driver/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ public function createCAPTCHA()
"Unknown or unsupported output type specified"
);
}

imagedestroy($image);
}

/**
Expand Down

0 comments on commit 9d3ebab

Please sign in to comment.