aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-06-22 21:26:51 +0000
committerBrian Paul <[email protected]>2000-06-22 21:26:51 +0000
commit3c8299c77967611db138169c56a7c6a1c0086d1c (patch)
treebf237d5b4a51fcbdb6a1625f244e70e612727404 /src/mesa/main/image.c
parent2af2c2b556bbac7d2d6bab416af14aecef594eea (diff)
Added FREE(depth) in error clause before return
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r--src/mesa/main/image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 627ab1510e7..c695bd85be5 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.32 2000/05/19 22:35:44 brianp Exp $ */
+/* $Id: image.c,v 1.33 2000/06/22 21:26:51 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -2995,6 +2995,7 @@ _mesa_unpack_depth_span( const GLcontext *ctx, GLuint n, GLdepth *dest,
break;
default:
gl_problem(NULL, "bad type in _mesa_unpack_depth_span()");
+ FREE(depth);
return;
}