From 049573dc5660829494a602953230b0c64d4b327a Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 24 Mar 2006 20:35:34 +0000 Subject: [PATCH] tests/check/generic/clock-selection.c: set to NULL before unreffing, fixes a valgrind leak. Original commit message from CVS: * tests/check/generic/clock-selection.c: (GST_START_TEST): set to NULL before unreffing, fixes a valgrind leak. Why was this not triggering the error that an object needs to be NULL before unreffing ? * win32/common/config.h: update --- ChangeLog | 9 +++++++++ common | 2 +- tests/check/generic/clock-selection.c | 1 + win32/common/config.h | 4 ++-- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d163f1a..47051d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-03-24 Thomas Vander Stichele + + * tests/check/generic/clock-selection.c: (GST_START_TEST): + set to NULL before unreffing, fixes a valgrind leak. + Why was this not triggering the error that an object needs to + be NULL before unreffing ? + * win32/common/config.h: + update + 2006-03-24 Tim-Philipp Müller * gst/subparse/gstsubparse.c: (convert_encoding), diff --git a/common b/common index 252846b..5685efc 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 252846b570144570a0aee25b5adefbfac3f5d4eb +Subproject commit 5685efc3f9976d6abe3fec557353fc2053b0e3fb diff --git a/tests/check/generic/clock-selection.c b/tests/check/generic/clock-selection.c index 8d5a156..b09c5a5 100644 --- a/tests/check/generic/clock-selection.c +++ b/tests/check/generic/clock-selection.c @@ -36,6 +36,7 @@ GST_START_TEST (test_add) fail_unless (ret == GST_STATE_CHANGE_SUCCESS, "could not set to READY"); /* cleanup */ + gst_element_set_state (pipeline, GST_STATE_NULL); gst_object_unref (pipeline); } diff --git a/win32/common/config.h b/win32/common/config.h index 5dc38d1..d253886 100644 --- a/win32/common/config.h +++ b/win32/common/config.h @@ -42,7 +42,7 @@ #define GST_PACKAGE_ORIGIN "Unknown package origin" /* package name in plugins */ -#define GST_PACKAGE_NAME "GStreamer Base Plug-ins source release" +#define GST_PACKAGE_NAME "GStreamer Base Plug-ins CVS/prerelease" /* Define the version */ #define GST_VERSION "@GST_VERSION@" @@ -250,7 +250,7 @@ #undef STDC_HEADERS /* Version number of package */ -#define VERSION "0.10.5" +#define VERSION "0.10.5.1" /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ -- 2.7.4