aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-lock-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-lock-helper.c')
-rw-r--r--camel/camel-lock-helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-lock-helper.c b/camel/camel-lock-helper.c
index 06463f2cf4..7cb381eae0 100644
--- a/camel/camel-lock-helper.c
+++ b/camel/camel-lock-helper.c
@@ -225,10 +225,10 @@ static int unlock_id(guint32 lockid)
seteuid(lock_root_uid);
camel_unlock_dot(info->path);
seteuid(lock_real_uid);
- }
-#else
- camel_unlock_dot(info->path);
+ } else
#endif
+ camel_unlock_dot(info->path);
+
p->next = info->next;
free(info);
}