summaryrefslogtreecommitdiff
path: root/clients/image.c
diff options
context:
space:
mode:
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>2024-04-25 13:48:18 -0300
committerPekka Paalanen <pq@iki.fi>2024-04-26 14:15:28 +0000
commit27a8cbeed90f3f000ac59de3a527ac26f89b487b (patch)
tree909a5f9b878248bcec67bb9bfaab608e1b582567 /clients/image.c
parent13f09a549de0394e366b1a57fd3f03c47a8acd1a (diff)
shared: do not call png_destroy_read_struct() with uninitialized objectHEADmain
If png_create_info_struct() fails, we should pass NULL to png_destroy_read_struct(), and not the address of the info we just failed to create. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
Diffstat (limited to 'clients/image.c')
0 files changed, 0 insertions, 0 deletions