projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ptp: Unref timeout GSource for delay requests
[platform/upstream/gstreamer.git]
/
libs
/
gst
/
net
/
gstptpclock.c
diff --git
a/libs/gst/net/gstptpclock.c
b/libs/gst/net/gstptpclock.c
index
79951a3
..
6557cfa
100644
(file)
--- a/
libs/gst/net/gstptpclock.c
+++ b/
libs/gst/net/gstptpclock.c
@@
-296,8
+296,10
@@
typedef struct
static void
ptp_pending_sync_free (PtpPendingSync * sync)
{
- if (sync->timeout_source)
+ if (sync->timeout_source)
{
g_source_destroy (sync->timeout_source);
+ g_source_unref(sync->timeout_source);
+ }
g_free (sync);
}