X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fgobject%2Fparamspec-test.c;h=74609dd17640c9a7d997d85678122b919d1a58d7;hb=2a53b4d0e2c98a14aedf31e38f0ad1fb2e8fe26f;hp=129a24f664c3e2187c8a707418bb33a8d5173684;hpb=1dc774a653e992e1153fbed16f90097fa8db467f;p=platform%2Fupstream%2Fglib.git diff --git a/tests/gobject/paramspec-test.c b/tests/gobject/paramspec-test.c index 129a24f..74609dd 100644 --- 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 - * 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 . */ /* @@ -196,6 +194,7 @@ test_param_spec_override (void) g_assert (modified && g_value_get_char (&value) == 40); g_param_spec_unref (pspec); + g_param_spec_unref (ospec); } 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_param_spec_unref (pspec); } static void