Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /sched_setscheduler.c [0c4e97] .. [d8f27d] Maximize Restore

  Switch to side-by-side view

--- a/sched_setscheduler.c
+++ b/sched_setscheduler.c
@@ -64,6 +64,8 @@
 		 (0xFF & ERROR_ACCESS_DENIED)) ? EPERM : ESRCH;
 	      return -1;
 	    }
+	  else
+	    CloseHandle(h);
 	}
     }