/*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2016, 2017, 2018 "IoT.bzh"
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
else
first = j;
last = j;
- pthread_mutex_unlock(&mutex);
+ pthread_mutex_unlock(&mutex);
return 0;
}
j = first;
if (j)
first = j->next;
- pthread_mutex_unlock(&mutex);
+ pthread_mutex_unlock(&mutex);
if (j) {
j->callback(0, j->closure);
free(j);