Re: scanimage -T using Purify...

From: Henning Meier-Geinitz (henning@meier-geinitz.de)
Date: Sun May 13 2001 - 09:39:56 PDT

  • Next message: Claus Ladekjær Wilson: "Re: HP 5200C -- segfaults and "inappropriate ioctl for device""

    Hi again,

    On Sun, May 13, 2001 at 10:54:59AM +0200, Henning Meier-Geinitz wrote:
    > > MLK: 1263 bytes leaked in 29 blocks
    > > * This memory was allocated from:
    > > malloc [rtlib.o]
    > > sanei_w_array [sanei_wire.c:146]
    >
    > --> w->direction == WIRE_DECODE
    >
    > > bin_w_string [sanei_codec_bin.c:84]
    > > sanei_w_string [sanei_wire.c:221]
    > > sanei_w_option_descriptor [sanei_wire.c:325]
    > > sanei_w_ptr [sanei_wire.c:194]
    >
    > I will look for this one and the other sanei_w leaks. Some of them
    > seem to be located in net.c in reality.

    This one and similar cases should be fixed now. There were several
    reasons for the memory leaks (e.g. missing sanei_w_free in net.c and
    missing recursive freeing in sanei_w_array and other functions).

    Please test thoroughly as I changed quiete some things in the
    networking layer. I think I have never had so much open xemacs windows
    than while debugging the SANE networking code :-)

    Bye,
      Henning

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Sun May 13 2001 - 09:26:07 PDT