compat_passwd(): yet another uninitialized access to stayopen.
CID: 1018731
This commit is contained in:
parent
2627f31ff0
commit
b3d078e666
@ -1942,7 +1942,7 @@ docompat:
|
||||
break;
|
||||
}
|
||||
fin:
|
||||
if (!stayopen && st->db != NULL) {
|
||||
if (st->db != NULL && !stayopen) {
|
||||
(void)st->db->close(st->db);
|
||||
st->db = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user