Changeset cf32dbd in mainline for uspace/srv/hid/display/main.c
- Timestamp:
- 2019-11-29T19:38:25Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fd777a2
- Parents:
- 38e5f36c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/main.c
r38e5f36c rcf32dbd 50 50 #include "main.h" 51 51 #include "output.h" 52 #include "seat.h" 52 53 #include "window.h" 53 54 … … 78 79 { 79 80 ds_display_t *disp = NULL; 81 ds_seat_t *seat = NULL; 80 82 gfx_context_t *gc = NULL; 81 83 errno_t rc; … … 84 86 85 87 rc = ds_display_create(NULL, &disp); 88 if (rc != EOK) 89 goto error; 90 91 rc = ds_seat_create(disp, &seat); 86 92 if (rc != EOK) 87 93 goto error; … … 121 127 if (gc != NULL) 122 128 gfx_context_delete(gc); 129 if (seat != NULL) 130 ds_seat_destroy(seat); 123 131 if (disp != NULL) 124 132 ds_display_destroy(disp);
Note:
See TracChangeset
for help on using the changeset viewer.