summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2013-08-28 00:38:22 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2013-08-31 14:19:58 -0400
commit02906e57bd801e20b3094ca348fad563c6b5a922 (patch)
tree60ef2f4ba7f41d492119a9b776d4211992ec7122
parent3518a0dafa63098d41e466f73d105b7e3e4b12de (diff)
fast_bilinear_cover_init: Don't install a finalizer on the error path
No memory is allocated in the error case, so a finalizer is not necessary, and will cause problems if the data pointer is not initialized to NULL.
-rw-r--r--pixman/pixman-fast-path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-fast-path.c b/pixman/pixman-fast-path.c
index 2608268d..5d52b4a5 100644
--- a/pixman/pixman-fast-path.c
+++ b/pixman/pixman-fast-path.c
@@ -2489,7 +2489,7 @@ fail:
FUNC, "Allocation failure or bad matrix, skipping rendering\n");
iter->get_scanline = _pixman_iter_get_scanline_noop;
- iter->fini = bilinear_cover_iter_fini;
+ iter->fini = NULL;
}
#define IMAGE_FLAGS \