mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
Added FREE(depth) in error clause before return
This commit is contained in:
parent
2af2c2b556
commit
3c8299c779
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue