Hi,
Just applied some of your patches. Thanks for reporting.
imlua_process.c
Not necessary. The lua*_error functions actually abort the
execution, so I just added a "return" after those calls to indicates that the
execution will not go further.
im_canny.cpp and im_format_wmv.cpp applied.
iupwin_touch applied
iup_str
The patch is just an optimization in an one time only call, but
I rather maintain that code for clarity.
mgl_ab.cpp, mgl_data_png.cpp and mgl_parse.cpp
These files belongs to the MglPlot library. The next time I
update for the new version I will check if the problems are still there and
report them to the MglPLot team.
iup_mglplot.cpp applied
OscReceivedElements.cpp
Same as MglPlot. It belongs to the TUIO library.
CD files, all patches applied.
Thanks for all the patches!
Best,
Scuri
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: domingo, 26 de janeiro de 2014 01:59
> To: [email protected]
> Subject: [Iup-users] Memory leak(and more)
>
> Hi all.
>
> I used the program "Cppcheck" to IUP 3.10.1(and CD 5.7, IM 3.8.2).
> I got some error, So I made Patch file.
>
> -Memory leak
> -Resource leak
> -Mismatching allocation and deallocation -Buffer is accessed out of bounds -
> Instance of '***' object is destroyed immediately -Memory pointed to by
> '***' is freed twice.
>
> r.k
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users