From 007453d4bd3bfc1eeb340d309e5680fa56f9877c Mon Sep 17 00:00:00 2001 From: Monty Date: Sat, 23 Jun 2007 09:20:04 +0000 Subject: ...add same eop fix to Tremor mainline git-svn-id: https://svn.xiph.org/trunk/Tremor@13185 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'info.c') diff --git a/info.c b/info.c index d453b21..33acf16 100644 --- a/info.c +++ b/info.c @@ -96,8 +96,8 @@ void vorbis_comment_clear(vorbis_comment *vc){ if(vc->user_comments)_ogg_free(vc->user_comments); if(vc->comment_lengths)_ogg_free(vc->comment_lengths); if(vc->vendor)_ogg_free(vc->vendor); + memset(vc,0,sizeof(*vc)); } - memset(vc,0,sizeof(*vc)); } /* blocksize 0 is guaranteed to be short, 1 is guarantted to be long. -- cgit v1.2.1