[Java-gnome-developer] Bug [ 819640 ] minor memory leak fix for GObject native code
Brought to you by:
afcowie
From: Jonas B. <jb...@ni...> - 2003-10-14 18:27:31
|
As it seems nobody is ever commenting on the bugs in the database, nor=20 applying the patches I send there, I post my patch here as well, in the=20 hope it would get committed to cvs before it becomes obsolete =3D) -- =09 I spotted a minor memory leak - some strings allocated by g_malloc() were never g_free():d.. The function was used in two places. In the other place, there was actually code in place to do call g_free() but it was never triggered. http://xkr47.outerspace.dyndns.org/patches/java-gnome/cvs-031008-3-gobjec= t-memleak.diff -- As heard elsewhere, memory handling is not currently a top priority of=20 java-gnome, but I thought, why not nail some of them down, at least when=20 they are this trivial. - xkr47 |