summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c
index 95e042c..2ef6217 100644
--- a/x11vnc/x11vnc.c
+++ b/x11vnc/x11vnc.c
@@ -2482,6 +2482,9 @@ int main(int argc, char* argv[]) {
if (unixpw_list) {
unixpw_list = NULL;
}
+ if (unixpw_cmd) {
+ unixpw_cmd = NULL;
+ }
continue;
}
if (!strcmp(arg, "-vencrypt")) {