Cleanup - slock_new

This commit is contained in:
twinaphex 2016-05-06 06:05:30 +02:00
parent 9c00dd0e2e
commit 5db093924c

View File

@ -237,7 +237,7 @@ slock_t *slock_new(void)
return lock;
error:
free(lock);
slock_free(lock);
return NULL;
}