agetty: fix a memory leak when parsing \S in issue files

This commit is contained in:
Matthias Gerstner 2017-02-27 12:03:57 +01:00
parent 86b6d7f434
commit 1db2468106
No known key found for this signature in database
GPG Key ID: 14C405C971923553
1 changed files with 3 additions and 0 deletions

View File

@ -2448,6 +2448,9 @@ static void output_special_char(unsigned char c, struct options *op,
uname(&uts);
fputs(uts.sysname, stdout);
}
free(var);
break;
}
case 'u':