diff options
-rw-r--r-- | console/display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/console/display.c b/console/display.c index 5ebabeb9..068fe160 100644 --- a/console/display.c +++ b/console/display.c @@ -1896,7 +1896,8 @@ display_create (display_t *r_display, const char *encoding, ports_destroy_right (display->notify_port); free (display); } - *r_display = display; + else + *r_display = display; return err; } |