Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/stbi p->out is always NULL here



details:   https://anonhg.NetBSD.org/src/rev/0bd372e55d45
branches:  trunk
changeset: 779539:0bd372e55d45
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 02 14:37:38 2012 +0000

description:
p->out is always NULL here

diffstat:

 sys/dev/stbi/stb_image.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 7f8747da1248 -r 0bd372e55d45 sys/dev/stbi/stb_image.c
--- a/sys/dev/stbi/stb_image.c  Sat Jun 02 14:30:04 2012 +0000
+++ b/sys/dev/stbi/stb_image.c  Sat Jun 02 14:37:38 2012 +0000
@@ -430,7 +430,7 @@
 #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 @@
       *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;
 



Home | Main Index | Thread Index | Old Index