Skip to content

Commit 36898a7

Browse files
committed
Fix for a nasty typo bug (found by clang static analyzer)
1 parent 2a0e894 commit 36898a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

util.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ void *alloc_four_nonaliased_buffers(void **buf1_, int size1,
217217
}
218218
if (buf4)
219219
{
220-
*buf3 = ptr + (0x33333333 & antialias_pattern_mask);
221-
ptr = align_up(*buf4 + size4, ALIGN_PADDING);
220+
*buf4 = ptr + (0x33333333 & antialias_pattern_mask);
222221
}
223222

224223
return buf;

0 commit comments

Comments
 (0)