[Prev][Next][Index][Thread]

# possible memory leak in 1.8.0p1

- Date: Tue, 12 Mar 1996 22:54:40 PST
- From:
- cc: moo-cows.PARC@xerox.com
- Content-Transfer-Encoding: 8bit
- Content-Type: text/plain; charset=US-ASCII

    In utils.c, binary_to_raw_bytes():

        const char         *ptr = binary;

        if (!s)		<- why 'if (!s)'? Isn't s always zero?
            s = new_stream(100);
        else
            reset_stream(s);
    ,

                        cc = cc * 16 + (c <= '9' ? c - '0' : c - 'A' + 10);
                    else
                        return 0;	<- not freed Stream s...
                }

    	-- Ahn

    -----
    Ahn, Jin-su    				email:	jsahn@ee.snu.ac.kr
    School of Electrical Engineering	LambdaMOO: Deedlit(#103811)
    Seoul National University, Korea

- Prev: Re: Possible bug
- Next: Re: possible memory leak in 1.8.0p1
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index