Re: CVS: commit dom wv support.c

From: J.M. Maurer <uwog_at_uwog.net>
Date: Sun Oct 16 2005 - 11:17:30 CEST

On Sun, 2005-10-16 at 04:42 +0000, cvs@abisource.com wrote:
> Update of /cvsroot/wv
> In directory abiword.snt.utwente.nl:/tmp/cvs-serv7482
>
> Modified Files:
> support.c
> Log Message:
> push some logic about when to free streams down from abiword into wv

Do we want this in wv-1-0-0-STABLE as well?

Marc

> Index: support.c
> ===================================================================
> RCS file: /cvsroot/wv/support.c,v
> retrieving revision 1.40
> retrieving revision 1.41
> diff -u -d -r1.40 -r1.41
> --- support.c 18 Apr 2005 21:14:48 -0000 1.40
> +++ support.c 16 Oct 2005 04:42:23 -0000 1.41
> @@ -99,6 +99,7 @@
> void
> wvOLEFree (wvParseStruct * ps)
> {
> + if(wvQuerySupported (&ps->fib, NULL) != WORD2 && !ps->fib.fEncrypted) {
> wvStream_list *tempList = streams;
>
> while (tempList != NULL)
> @@ -113,6 +114,7 @@
> wvFree (streams);
> streams = tempList;
> }
> + }
>
> if (ps->ole_file != NULL)
> {
> @@ -240,7 +242,7 @@
> {
> if (in->kind == GSF_STREAM)
> {
> - U8 ret;
> + U8 ret = 0;
> gsf_input_read (GSF_INPUT (in->stream.gsf_stream), 1, &ret);
> return (ret);
> }
> @@ -250,7 +252,7 @@
> }
> else
> {
> - U8 ret;
> + U8 ret = 0;
> memorystream_read(in->stream.memory_stream, &ret, 1);
> return ret;
> }
>
> -----------------------------------------------
> To unsubscribe from this list, send a message to
> abisource-cvs-commit-request@abisource.com with the word
> unsubscribe in the message body.
Received on Sun Oct 16 11:17:24 2005

This archive was generated by hypermail 2.1.8 : Sun Oct 16 2005 - 11:17:25 CEST