DentonW / DevIL

Developer's Image Library (DevIL) is a cross-platform image library utilizing a simple syntax to load, save, convert, manipulate, filter, and display a variety of images with ease. It is highly portable and has been ported to several platforms.
http://openil.sourceforge.net/
GNU Lesser General Public License v2.1
446 stars 137 forks source link

Simplify vectormem logic #9

Open AMDmi3 opened 10 years ago

AMDmi3 commented 10 years ago

Don't leak logic of freeing memory allocated by vec_malloc outside: instead, encapsulate it in corresponding vec_free function.

Needs review.

AMDmi3 commented 10 years ago

@rndfax, what do you think?

ghost commented 10 years ago

perfecto!