add forgotten close in function reserve
This commit is contained in:
@@ -27,6 +27,7 @@ int reserve(char gpioPort)
|
|||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
printf("Success");
|
printf("Success");
|
||||||
|
close(fd);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user