diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-06-28 06:40:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-28 06:40:18 -0700 |
commit | f3a5d5dbd70d0d6f12577d18391155d99d88cb2b (patch) | |
tree | 9bf60ebdd451e6469fea2851e9973cca1b920fba | |
parent | ec7d4a09715e5c24ce4a7fd15289df0ad2298a93 (diff) | |
parent | 64665200fa2b04ea8767a9adab2aa64b8d0b2b0a (diff) |
Merge pull request #1097 from emersion/contributing-inert-destroy-order
contributing: move wl_resource_set_user_data() right before free()
-rw-r--r-- | CONTRIBUTING.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aca308b3..9dd7f504 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -334,9 +334,9 @@ static void subsurface_destroy(struct wlr_subsurface *subsurface) { return; } - wl_resource_set_user_data(subsurface->resource, NULL); - … + + wl_resource_set_user_data(subsurface->resource, NULL); free(subsurface); } |