Skip to content

Commit

Permalink
Whoops, wrong free() call.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 4, 2008
1 parent b2188b9 commit eef1aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -492,7 +492,7 @@ static int output_line(Context *ctx, const char *fmt, ...)
item->str = (char *) Malloc(ctx, len + 1);
if (item->str == NULL)
{
free(item);
Free(ctx, item);
return out_of_memory(ctx);
} // if

Expand Down

0 comments on commit eef1aa1

Please sign in to comment.