Module Name: src Committed By: christos Date: Sat Jun 2 14:37:38 UTC 2012
Modified Files: src/sys/dev/stbi: stb_image.c Log Message: p->out is always NULL here To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/stbi/stb_image.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/stbi/stb_image.c diff -u src/sys/dev/stbi/stb_image.c:1.3 src/sys/dev/stbi/stb_image.c:1.4 --- src/sys/dev/stbi/stb_image.c:1.3 Sat Jun 2 10:30:04 2012 +++ src/sys/dev/stbi/stb_image.c Sat Jun 2 10:37:38 2012 @@ -430,7 +430,7 @@ extern int stbi_gif_info_from_file #endif #ifdef _KERNEL #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: stb_image.c,v 1.3 2012/06/02 14:30:04 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: stb_image.c,v 1.4 2012/06/02 14:37:38 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -3051,7 +3051,6 @@ static unsigned char *do_png(png *p, int *y = p->s.img_y; if (n) *n = p->s.img_n; } - FREE(p->out); p->out = NULL; FREE(p->expanded); p->expanded = NULL; FREE(p->idata); p->idata = NULL;