diff options
-rw-r--r-- | src/login/sd-login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/sd-login.c b/src/login/sd-login.c index 71d8c2942e..6c27dfeb75 100644 --- a/src/login/sd-login.c +++ b/src/login/sd-login.c @@ -350,7 +350,7 @@ _public_ int sd_session_get_tty(const char *session, char **tty) { } _public_ int sd_session_get_vt(const char *session, unsigned *vtnr) { - _cleanup_free_ char *vtnr_string; + _cleanup_free_ char *vtnr_string = NULL; unsigned u; int r; |