fix: don't leak memory...

There's still memory being leaked by the wayland stuff
This commit is contained in:
2025-09-26 16:45:31 -04:00
parent afa4e48757
commit 22fcfcdba9
2 changed files with 3 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ char
f = fopen(d, "r");
if (!f) {
log_fatal("battery directory does not exist");
free(d);
return NULL;
}
free(d);