seed r300 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r300 - trunk/libseed
- Date: Sat, 22 Nov 2008 02:37:02 +0000 (UTC)
Author: racarr
Date: Sat Nov 22 02:37:02 2008
New Revision: 300
URL: http://svn.gnome.org/viewvc/seed?rev=300&view=rev
Log:
Release in_args in closures.
Modified:
trunk/libseed/seed-closure.c
trunk/libseed/seed-structs.c
Modified: trunk/libseed/seed-closure.c
==============================================================================
--- trunk/libseed/seed-closure.c (original)
+++ trunk/libseed/seed-closure.c Sat Nov 22 02:37:02 2008
@@ -227,6 +227,10 @@
arg->v_pointer = 0;
}
jsargs[i] = seed_gi_argument_make_js(arg, arg_type, 0);
+ seed_gi_release_in_arg(
+ g_arg_info_get_ownership_transfer(arg_info),
+ arg_type,
+ arg);
g_base_info_unref((GIBaseInfo *)arg_info);
}
Modified: trunk/libseed/seed-structs.c
==============================================================================
--- trunk/libseed/seed-structs.c (original)
+++ trunk/libseed/seed-structs.c Sat Nov 22 02:37:02 2008
@@ -163,6 +163,7 @@
return JSValueMakeNull(eng->context);
}
+ // Maybe need to release argument.
ret = seed_gi_argument_make_js(&field_value,
field_type, exception);
@@ -244,6 +245,7 @@
ret = seed_gi_argument_make_js(&field_value,
field_type, exception);
+ // Maybe need to release argument
found:
g_base_info_unref((GIBaseInfo *) field);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]