mirror of
https://github.com/Derisis13/Shutter.git
synced 2025-12-06 19:32:48 +01:00
Version 1.4.5
Bugfix: now function press_button doesn't leak memory
This commit is contained in:
1
moving.c
1
moving.c
@@ -50,6 +50,7 @@ void press_button (buttons b)
|
||||
fprintf (gpio, "1");
|
||||
fclose (gpio);
|
||||
usleep (200000);
|
||||
free (fname);
|
||||
}
|
||||
|
||||
void lower (shutter *r)
|
||||
|
||||
Reference in New Issue
Block a user