Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: f68d9cf5675eeb762b47c9ea4ab7b9f9ba3c1648
      
https://github.com/synfig/synfig/commit/f68d9cf5675eeb762b47c9ea4ab7b9f9ba3c1648
  Author: [d.j.a.y] Jerome Blanchi <d.j....@free.fr>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

  Changed paths:
    M synfig-studio/src/gui/cellrenderer/cellrenderer_value.cpp

  Log Message:
  -----------
  Fix memory leak.

value_entry is dynamicaly created into 
CellRenderer_ValueBase::start_editing_vfunc
at line 678 ( 
https://github.com/synfig/synfig/blob/master/synfig-studio/src/gui/cellrenderer/cellrenderer_value.cpp#L680
 )

value_entry=manage(new ValueBase_Entry());              assert(get_canvas());
//delete value_entry;
value_entry=manage(new ValueBase_Entry());  // <---- here
value_entry->set_path(path);
value_entry->set_canvas(get_canvas());


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to