Re: [Wireshark-dev] [libsmi] Re: Building libsmi from SVN as a .dll

2008-04-16 Thread Juergen Schoenwaelder
On Wed, Apr 16, 2008 at 09:22:38AM +1000, Andrew Hood wrote: > Adding smiFree to smi.h and EXPORTing it from the DLL lets the memory > that is currently being leaked be freed. Juergen agrees this is OK. If > have added these to smi.h and EXPORTed them: > > extern void *smiMalloc(size_t size); >

Re: [Wireshark-dev] [libsmi] Re: Building libsmi from SVN as a .dll

2008-04-16 Thread Andrew Hood
Juergen Schoenwaelder wrote: > On Wed, Apr 16, 2008 at 09:22:38AM +1000, Andrew Hood wrote: > > >>I think I have also tracked down one of the reasons wireshark crashes. > > > [...] > > >>At line 595 oids.c calls smiRenderOID to format the node. The implicit >>node is not completely filled i

Re: [Wireshark-dev] [libsmi] Re: Building libsmi from SVN as a .dll

2008-04-16 Thread Juergen Schoenwaelder
On Wed, Apr 16, 2008 at 09:22:38AM +1000, Andrew Hood wrote: > I think I have also tracked down one of the reasons wireshark crashes. [...] > At line 595 oids.c calls smiRenderOID to format the node. The implicit > node is not completely filled in, and wireshark/tshark crashes in > libsmi. Thi