diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-05-06 21:28:37 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-05-06 21:28:37 -0400 |
commit | d11046a00894d1b353eddde51c395541a6eb3c50 (patch) | |
tree | 18fb972a356bf64653c5527eb888cabe918f96d6 | |
parent | ef98e35c9c44148611aa2c23325431d19405c781 (diff) | |
download | dimension-d11046a00894d1b353eddde51c395541a6eb3c50.tar.xz |
png: Fix a trivial bug found by the last commit.
-rw-r--r-- | libdimension/png.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/png.c b/libdimension/png.c index b83aaf6..c33ad91 100644 --- a/libdimension/png.c +++ b/libdimension/png.c @@ -98,7 +98,7 @@ dmnsn_future * dmnsn_png_read_canvas_async(dmnsn_canvas **canvas, FILE *file) { dmnsn_future *future = dmnsn_new_future(); - dmnsn_png_read_payload *payload = DMNSN_MALLOC(dmnsn_png_write_payload); + dmnsn_png_read_payload *payload = DMNSN_MALLOC(dmnsn_png_read_payload); payload->future = future; payload->canvas = canvas; |