patch-conf_c 351 B

123456789101112131415
  1. $OpenBSD: patch-conf_c,v 1.2 2013/01/03 11:54:49 shadchin Exp $
  2. Fix "pthread_mutex_destroy on mutex with waiters!"
  3. --- conf.c.orig Fri Oct 19 21:40:14 2012
  4. +++ conf.c Tue Oct 23 22:32:14 2012
  5. @@ -72,6 +72,7 @@ conf_free (void) {
  6. }
  7. conf_items = NULL;
  8. changed = 0;
  9. + mutex_unlock (mutex);
  10. mutex_free (mutex);
  11. mutex = 0;
  12. }