X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fjobs-fake.c;h=d3cd19e1cff1734fe42258f3d70dea3a57933c92;hb=refs%2Fchanges%2F95%2F14495%2F2;hp=d3444e3220e6ed054024f9e046404b743434ac44;hpb=24d000c2290126abf88204089d132229d63f9a05;p=src%2Fapp-framework-binder.git diff --git a/src/jobs-fake.c b/src/jobs-fake.c index d3444e32..d3cd19e1 100644 --- a/src/jobs-fake.c +++ b/src/jobs-fake.c @@ -71,7 +71,7 @@ static int add_job(const void *group, int timeout, void (*callback)(int signum, else first = j; last = j; - pthread_mutex_unlock(&mutex); + pthread_mutex_unlock(&mutex); return 0; } @@ -83,7 +83,7 @@ static void *thrrun(void *arg) j = first; if (j) first = j->next; - pthread_mutex_unlock(&mutex); + pthread_mutex_unlock(&mutex); if (j) { j->callback(0, j->closure); free(j);