mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-05 03:35:36 +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
|
static void
|
||||||
ptp_pending_sync_free (PtpPendingSync * sync)
|
ptp_pending_sync_free (PtpPendingSync * sync)
|
||||||
{
|
{
|
||||||
if (sync->timeout_source)
|
if (sync->timeout_source) {
|
||||||
g_source_destroy (sync->timeout_source);
|
g_source_destroy (sync->timeout_source);
|
||||||
|
g_source_unref(sync->timeout_source);
|
||||||
|
}
|
||||||
g_free (sync);
|
g_free (sync);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue