diff options
author | Conrad Parker <conrad@xiph.org> | 2004-08-19 02:06:02 +0000 |
---|---|---|
committer | Conrad Parker <conrad@xiph.org> | 2004-08-19 02:06:02 +0000 |
commit | 9c519f2fba13f27895dc097fc67ad3f17fbd2258 (patch) | |
tree | 90b65c5183a89d0abd35c80d88040a6f78f2d89e /src/bitwise.c | |
parent | 3996cbef413083a2c4e6899e8c7a9de87bca5cec (diff) | |
download | ogg-9c519f2fba13f27895dc097fc67ad3f17fbd2258.tar.gz |
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
Diffstat (limited to 'src/bitwise.c')
-rw-r--r-- | src/bitwise.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |