Changeset 5877de74 in mainline


Ignore:
Timestamp:
2022-05-24T14:53:28Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11662bd
Parents:
174be87
git-author:
Jiri Svoboda <jiri@…> (2022-05-23 17:53:23)
git-committer:
Jiri Svoboda <jiri@…> (2022-05-24 14:53:28)
Message:

Add missing deallocations in error paths of ds_window_create()

File:
1 edited

Legend:

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

    r174be87 r5877de74  
    146146error:
    147147        if (wnd != NULL) {
     148                ds_client_remove_window(wnd);
     149                ds_display_remove_window(wnd);
     150                if (wnd->mgc != NULL)
     151                        mem_gc_delete(wnd->mgc);
    148152                if (wnd->bitmap != NULL)
    149153                        gfx_bitmap_destroy(wnd->bitmap);
Note: See TracChangeset for help on using the changeset viewer.