sleyzerzon / soar

Automatically exported from code.google.com/p/soar
1 stars 0 forks source link

check for unfreed memory #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description From Bob Marinier 2008-03-12 13:11:03 (-) [reply]
Dave Ray found and fixed a bug relating to strings not being properly freed 
in
JNI code for RHS function stuff (see bug 1031).  There's a very good chance
that there are other similar bugs elsewhere in the JNI code, and possibly
related bugs in other languages.

I can imagine checking for this occurring in two stages:

1) Find similar patterns in JavaCallbackByHand.h (rev 8396) similar to the 
ones
Dave fixed and fix them.  (Looking at the diff, it actually looks like Dave
made changes throughout the file, so perhaps he's already done this).

2) Port Dave's Java test program (attached to bug 1031) to other languages 
and
see if they show similar problems (C# in particular, since it is most 
similar
to Java).

Original issue reported on code.google.com by voigtjr@gmail.com on 23 Jul 2009 at 4:52

GoogleCodeExporter commented 8 years ago

Original comment by voigtjr@gmail.com on 23 Jul 2009 at 5:29

GoogleCodeExporter commented 8 years ago
Need a more specific example.

Original comment by voigtjr@gmail.com on 23 Feb 2010 at 5:49