Changeset da412547 in mainline for uspace/srv/hid/display/window.c


Ignore:
Timestamp:
2019-11-10T17:07:44Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b093a62
Parents:
6427f083
Message:

Display server should deal with client not destroying windows properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/window.c

    r6427f083 rda412547  
    220220 * @param wnd Window GC
    221221 */
    222 errno_t ds_window_destroy(ds_window_t *wnd)
    223 {
    224         errno_t rc;
    225 
     222void ds_window_destroy(ds_window_t *wnd)
     223{
    226224        ds_client_remove_window(wnd);
    227 
    228         rc = gfx_context_delete(wnd->gc);
    229         if (rc != EOK)
    230                 return rc;
     225        (void) gfx_context_delete(wnd->gc);
    231226
    232227        free(wnd);
    233         return EOK;
    234228}
    235229
Note: See TracChangeset for help on using the changeset viewer.