Merge lp:~cimi/overlay-scrollbar/fix-754927 into lp:overlay-scrollbar
Proposed by
Andrea Cimitan
Status: | Merged |
---|---|
Merged at revision: | 209 |
Proposed branch: | lp:~cimi/overlay-scrollbar/fix-754927 |
Merge into: | lp:overlay-scrollbar |
Diff against target: |
37 lines (+11/-2) 1 file modified
os/os-pager.c (+11/-2) |
To merge this branch: | bzr merge lp:~cimi/overlay-scrollbar/fix-754927 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mikkel Kamstrup Erlandsen (community) | Approve | ||
Loïc Molinari (community) | Approve | ||
David Barth (community) | Needs Information | ||
Review via email: mp+57452@code.launchpad.net |
Description of the change
simply add parent =! NULL check
To post a comment you must log in.
The changes are ok here, but I think there's more to the bug.
1. the user_data may contain a dead pointer, so even getting access to ->priv may fail
2. in order to avoid dead pointers still reaching the callback, shouldn't you disconnect the animation signal as well on dispose?