thephpleague / color-extractor

Extract colors from an image like a human would do.
thephpleague.com
MIT License
1.3k stars 159 forks source link

Free memory from previous call to imagecreatefromstring() #48

Closed christian-roggia closed 7 years ago

christian-roggia commented 7 years ago

imagedestroy() is never called in the file League/ColorExtractor/Palette.php preventing PHP from freeing the memory previously allocated at the line 55 of the same file.