From 9c519f2fba13f27895dc097fc67ad3f17fbd2258 Mon Sep 17 00:00:00 2001 From: Conrad Parker Date: Thu, 19 Aug 2004 02:06:02 +0000 Subject: free memory allocated in testing routines, to allow checks to pass in leak-checking environments git-svn-id: http://svn.xiph.org/trunk/ogg@7586 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/bitwise.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bitwise.c') diff --git a/src/bitwise.c b/src/bitwise.c index cfceddc..deab67e 100644 --- a/src/bitwise.c +++ b/src/bitwise.c @@ -687,6 +687,7 @@ int main(void){ fprintf(stderr,"failed; read past end without -1.\n"); exit(1); } + oggpack_writeclear(&o); fprintf(stderr,"ok.\n"); /********** lazy, cut-n-paste retest with MSb packing ***********/ @@ -772,6 +773,7 @@ int main(void){ fprintf(stderr,"failed; read past end without -1.\n"); exit(1); } + oggpackB_writeclear(&o); fprintf(stderr,"ok.\n\n"); -- cgit v1.2.1