projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clock: Fix deprecation handling of the GstClock clock field
[platform/upstream/gstreamer.git]
/
gst
/
gstdatetime.c
diff --git
a/gst/gstdatetime.c
b/gst/gstdatetime.c
index
efd0460
..
cea0f70
100644
(file)
--- a/
gst/gstdatetime.c
+++ b/
gst/gstdatetime.c
@@
-922,6
+922,11
@@
static void
gst_date_time_free (GstDateTime * datetime)
{
g_date_time_unref (datetime->datetime);
+
+#ifdef USE_POISONING
+ memset (datetime, 0xff, sizeof (GstDateTime));
+#endif
+
g_slice_free (GstDateTime, datetime);
}