WP_Image_Editor_GD::__destruct()


Source

File: wp-includes/class-wp-image-editor-gd.php. View all references

public function __destruct() {
	if ( $this->image ) {
		// We don't need the original in memory anymore.
		imagedestroy( $this->image );
	}
}

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.