aboutsummaryrefslogtreecommitdiff
path: root/qga/commands-windows-ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'qga/commands-windows-ssh.c')
-rw-r--r--qga/commands-windows-ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/commands-windows-ssh.c b/qga/commands-windows-ssh.c
index 6a642e3..df45c17 100644
--- a/qga/commands-windows-ssh.c
+++ b/qga/commands-windows-ssh.c
@@ -377,7 +377,7 @@ error:
static bool set_file_permissions(PWindowsUserInfo userInfo, Error **errp)
{
PACL pACL = NULL;
- PSID userPSID;
+ PSID userPSID = NULL;
/* Creates the access control structure */
if (!create_acl(userInfo, &pACL, errp)) {