mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
ptp: Unref timeout GSource for delay requests
https://bugzilla.gnome.org/show_bug.cgi?id=783864
This commit is contained in:
parent
25bf82a187
commit
d99c9d9944
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue