From 4129af30eab596ca2662e5913bc5b50b22d1e9e0 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Tue, 19 Jul 2005 14:23:50 +0000 Subject: the most incredible bug in history svn path=/trunk/externals/pidip/; revision=3361 --- modules/pdp_rec~.c | 12 ++++++++++-- 1 file 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) ); + } } -- cgit v1.2.1