diff options
-rw-r--r-- | vnc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2419,6 +2419,7 @@ int vnc_display_open(DisplayState *ds, const char *display) } if (-1 == vs->lsock) { free(dpy); + return -1; } else { free(vs->display); vs->display = dpy; |