Commit e3f44217 authored by Jürg Billeter's avatar Jürg Billeter

tracker-control: Fix crash when unable to get miner pause details

parent 414693db
......@@ -374,6 +374,12 @@ miner_pause_details (void)
&pause_applications,
&pause_reasons);
if (!pause_applications || !pause_reasons) {
/* unable to get pause details,
already logged by tracker_miner_manager_is_paused */
continue;
}
if (!(*pause_applications) || !(*pause_reasons)) {
g_strfreev (pause_applications);
g_strfreev (pause_reasons);
......
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