Commit cceaffeb authored by Fabrice Bellet's avatar Fabrice Bellet Committed by Olivier Crête
Browse files

agent: fix a memory leak

parent 6f0c7e82
...@@ -293,6 +293,7 @@ static void on_refresh_removed (RefreshPruneAsyncData *data) ...@@ -293,6 +293,7 @@ static void on_refresh_removed (RefreshPruneAsyncData *data)
agent_timeout_add_with_context (data->agent, &timeout_source, agent_timeout_add_with_context (data->agent, &timeout_source,
"Async refresh prune", 0, data->cb, data->user_data); "Async refresh prune", 0, data->cb, data->user_data);
g_source_unref (timeout_source);
g_free (data); g_free (data);
} }
} }
......
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