diff options
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/logind/logind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/logind/logind.c b/daemon/logind/logind.c index 8587c670..748fdc49 100644 --- a/daemon/logind/logind.c +++ b/daemon/logind/logind.c @@ -795,12 +795,12 @@ load_text_screen_file(const char *filename, char **pptr) // check memory buffer s = realloc(*pptr, wsz); - *pptr = s; if (!s) { fclose(fp); return; } + *pptr = s; // prepare buffer memset(s, 0, wsz); |