Commit ac31a3c1 authored by Andrejs Vasiljevs's avatar Andrejs Vasiljevs Committed by Sebastian Dröge

ptp: Unref timeout GSource for delay requests
parent 326541ee
......@@ -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_free (sync);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment