fix: don't leak memory...
There's still memory being leaked by the wayland stuff
This commit is contained in:
@@ -20,6 +20,7 @@ char
|
||||
f = fopen(d, "r");
|
||||
if (!f) {
|
||||
log_fatal("battery directory does not exist");
|
||||
free(d);
|
||||
return NULL;
|
||||
}
|
||||
free(d);
|
||||
|
Reference in New Issue
Block a user