From c441dcd4b037786a6d9f4a70a49caa3674a933ee Mon Sep 17 00:00:00 2001 From: fredb Date: Fri, 15 Mar 2002 00:07:37 +0000 Subject: Don't reference the result, if png_create_info_struct() was unsucessful. --- www/chimera/distinfo | 4 ++-- www/chimera/patches/patch-ad | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'www') diff --git a/www/chimera/distinfo b/www/chimera/distinfo index 3bc6eb00a9f..f5256c7e27c 100644 --- a/www/chimera/distinfo +++ b/www/chimera/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 12:02:35 skrll Exp $ +$NetBSD: distinfo,v 1.3 2002/03/15 00:07:37 fredb Exp $ SHA1 (chimera-2.0a19.tar.gz) = c69b70b11cf12837e260eaa20e548bf9eb9ce309 Size (chimera-2.0a19.tar.gz) = 248431 bytes SHA1 (patch-aa) = 96030ed758edf1e32c3994b32bc7a2730c36a681 SHA1 (patch-ab) = 1fc2f5f97f46403359a00e42cc25f4cbf9bc5331 SHA1 (patch-ac) = 5f18afd9a1452bfba010fe3eb4e773f5395789c6 -SHA1 (patch-ad) = 0ae7473d2d382b2b7f298a943d2569510066ceb7 +SHA1 (patch-ad) = 400a047e978ccb0c4ebcf69a93117b4c7ecfdddb SHA1 (patch-ae) = 8b8e1bc50791b635e5e87860302d0e758d159ed9 SHA1 (patch-af) = 76256ccb4b5183a8d30a46a89a0cd75b113122fc diff --git a/www/chimera/patches/patch-ad b/www/chimera/patches/patch-ad index 0cd2dc66b69..3179b09d1d1 100644 --- a/www/chimera/patches/patch-ad +++ b/www/chimera/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.2 2000/10/26 11:17:35 abs Exp $ +$NetBSD: patch-ad,v 1.3 2002/03/15 00:07:37 fredb Exp $ --- image/png.c.orig Mon Mar 29 03:23:46 1999 +++ image/png.c @@ -36,7 +36,7 @@ $NetBSD: patch-ad,v 1.2 2000/10/26 11:17:35 abs Exp $ + png->info = (png_info *) png_create_info_struct(png->state); if (!png->info) { - free_mem(png->state); -+ png_destroy_read_struct(&png->state, &png->info, (png_info **)NULL); ++ png_destroy_read_struct(&png->state, NULL, (png_info **)NULL); return; } -- cgit v1.2.3