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
This commit is contained in:
Thomas Vander Stichele 2006-03-24 20:35:34 +00:00
parent 2ecb455728
commit 049573dc56
4 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,12 @@
2006-03-24 Thomas Vander Stichele <thomas at apestaart dot org>
* 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 <tim at centricular dot net>
* gst/subparse/gstsubparse.c: (convert_encoding),

2
common

@ -1 +1 @@
Subproject commit 252846b570144570a0aee25b5adefbfac3f5d4eb
Subproject commit 5685efc3f9976d6abe3fec557353fc2053b0e3fb

View file

@ -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);
}

View file

@ -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). */