Dispose GLib.Values in GetProperty after usage
This commit is contained in:
parent
cdc9fcd45d
commit
3139d5f239
@ -1,6 +1,9 @@
|
||||
public object this[string property] {
|
||||
get {
|
||||
return GetProperty (property).Val;
|
||||
GLib.Value v = GetProperty (property);
|
||||
object o = v.Val;
|
||||
v.Dispose ();
|
||||
return o;
|
||||
}
|
||||
set {
|
||||
GLib.Value v = new GLib.Value (this, property);
|
||||
|
Loading…
x
Reference in New Issue
Block a user