Skip to content

Commit

Permalink
Merge pull request #1 from rndfax/master
Browse files Browse the repository at this point in the history
il_alloc: fix free memory function
  • Loading branch information
DentonW committed Aug 12, 2014
2 parents 26e3f92 + 4664b3e commit 7b68615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DevIL/src-IL/src/il_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static void ILAPIENTRY DefaultFreeFunc(const void * CONST_RESTRICT ptr)
{
if (ptr)
{
#ifdef MM_MALLOC
#if defined(VECTORMEM) & defined(MM_MALLOC)
_mm_free((void*)ptr);
#else
#if defined(VECTORMEM) & !defined(POSIX_MEMALIGN) & !defined(VALLOC) & !defined(MEMALIGN) & !defined(MM_MALLOC)
Expand Down

0 comments on commit 7b68615

Please sign in to comment.