Diff of /perf_examples/syst_count.c [4e98c0] .. [b187c7] Maximize Restore

  Switch to side-by-side view

--- a/perf_examples/syst_count.c
+++ b/perf_examples/syst_count.c
@@ -190,7 +190,8 @@
 	return;
 error:
 	for (i=0; i < j; i++) {
-		close(fds[i].fd);
+		if (fds[i].fd > -1)
+			close(fds[i].fd);
 		fds[i].fd = -1;
 	}
 }