commit | 6d91cdbc0c281d9ab155adec095f1955edb326be | [log] [tgz] |
---|---|---|
author | Søren Sandmann Pedersen <ssp@redhat.com> | Mon Jan 17 14:12:20 2011 -0500 |
committer | Søren Sandmann Pedersen <ssp@redhat.com> | Wed Jan 19 08:12:16 2011 -0500 |
tree | 354413bcd57d86f5b64a9bb31663bd25bf133259 | |
parent | a72350ff41c0427f3fe034cf727d33d241825b6a [diff] |
Fix dangling-pointer bug in bits_image_fetch_bilinear_no_repeat_8888(). The mask_bits variable is only declared in a limited scope, so the pointer to it becomes invalid instantly. Somehow this didn't actually trigger any bugs, but Brent Fulgham reported that Bounds Checker was complaining about it. Fix the bug by moving mask_bits to the function scope.