aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2005-07-19 14:23:50 +0000
committerN.N. <sevyves@users.sourceforge.net>2005-07-19 14:23:50 +0000
commit4129af30eab596ca2662e5913bc5b50b22d1e9e0 (patch)
tree5c8455bbfe015eca1058988b352927a468c992a9
parent36b2d58cbaf75965e67e25ea45d72b5594d43467 (diff)
the most incredible bug in history
svn path=/trunk/externals/pidip/; revision=3361
-rw-r--r--modules/pdp_rec~.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/modules/pdp_rec~.c b/modules/pdp_rec~.c
index 5b217dd..56e11a5 100644
--- a/modules/pdp_rec~.c
+++ b/modules/pdp_rec~.c
@@ -80,8 +80,16 @@ typedef struct pdp_rec_struct
static void pdp_rec_free_ressources(t_pdp_rec *x)
{
- if ( x->x_yuvpointers ) freebytes ( x->x_yuvpointers, 3*sizeof( unsigned char** ) );
- if ( x->x_yuvbuffer ) freebytes ( x->x_yuvbuffer, x->x_vsize + (x->x_vsize>>1) );
+ if ( x->x_yuvpointers )
+ {
+ post( "pdp_rec~ : freeing pointers..." );
+ freebytes ( x->x_yuvpointers, 3*sizeof(unsigned char**) );
+ }
+ if ( x->x_yuvbuffer )
+ {
+ post( "pdp_rec~ : freeing buffers..." );
+ freebytes ( x->x_yuvbuffer, x->x_vsize + (x->x_vsize>>1) );
+ }
}