https://bugzilla.novell.com/show_bug.cgi?id=427372
User kkaempf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=427372#c16
Klaus Kämpf changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|kkaempf@novell.com |sh@novell.com
Component|YaST2 |YaST2
Priority|P5 - None |P3 - Medium
Product|openSUSE 11.0 |openSUSE 11.1
--- Comment #16 from Klaus Kämpf 2009-01-08 05:19:37 MST ---
This can be fixed by SWIGs 'disown' typemap.
So the YTable (resp. YSelectionWidget) function
addItem( YItem *item)
must get a 'disown' typemap in order to flag tranfer of ownership to the called
function.
However, typemaps match on argument type and name only, *not* on function
names.
A proper fix is to name function arguments(!) appropriately in order to denote
transfer of ownership. This needs fixing in libyui header files.
E.g.
addItem( YItem *item)
should be redeclared as
addItem( YItem *item_disown)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.