projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kdbus] KDBUS_ITEM_PAYLOAD_OFF items are (once again) relative to msg header
[platform/upstream/glib.git]
/
tests
/
gobject
/
paramspec-test.c
diff --git
a/tests/gobject/paramspec-test.c
b/tests/gobject/paramspec-test.c
index
129a24f
..
74609dd
100644
(file)
--- a/
tests/gobject/paramspec-test.c
+++ b/
tests/gobject/paramspec-test.c
@@
-12,9
+12,7
@@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
/*
*/
/*
@@
-196,6
+194,7
@@
test_param_spec_override (void)
g_assert (modified && g_value_get_char (&value) == 40);
g_param_spec_unref (pspec);
g_assert (modified && g_value_get_char (&value) == 40);
g_param_spec_unref (pspec);
+ g_param_spec_unref (ospec);
}
static void
}
static void
@@
-220,6
+219,8
@@
test_param_spec_gtype (void)
g_value_set_gtype (&value, G_TYPE_PARAM_INT);
modified = g_param_value_validate (pspec, &value);
g_assert (!modified && g_value_get_gtype (&value) == G_TYPE_PARAM_INT);
g_value_set_gtype (&value, G_TYPE_PARAM_INT);
modified = g_param_value_validate (pspec, &value);
g_assert (!modified && g_value_get_gtype (&value) == G_TYPE_PARAM_INT);
+
+ g_param_spec_unref (pspec);
}
static void
}
static void