diff options
Diffstat (limited to 'libappstream-glib/as-profile.c')
-rw-r--r-- | libappstream-glib/as-profile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-profile.c b/libappstream-glib/as-profile.c index 9fb3a14..fa143a5 100644 --- a/libappstream-glib/as-profile.c +++ b/libappstream-glib/as-profile.c @@ -91,6 +91,7 @@ void as_profile_task_set_threaded (AsProfileTask *ptask, gboolean threaded) { AsProfileItem *item; + g_autoptr(GMutexLocker) locker = g_mutex_locker_new (&ptask->profile->mutex); item = as_profile_item_find (ptask->profile->current, ptask->id); if (item == NULL) return; |