g_hash_table_get_values returns a newly-allocated GList. The callers
of devkit_disks_daemon_local_get_all_devices need to free it.
Signed-off-by: David Zeuthen <davidz@redhat.com>
}
}
+ g_list_free (devices);
+
return ret;
}
}
}
+ g_list_free (devices);
+
return ret;
}
force_removal (d, NULL, NULL);
}
}
+
+ g_list_free (devices);
}
out:
return keep_device;
}
out:
+
+ g_list_free (devices);
+
return ret;
}
}
}
+ g_list_free (devices);
+
if (objpath != NULL) {
dbus_g_method_return (context, objpath);
} else {
}
}
+ g_list_free (devices);
+
if (objpath != NULL) {
dbus_g_method_return (context, objpath);
} else {