summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2021-04-29 17:11:45 -0500
committerMarge Bot <marge-bot@gnome.org>2021-04-30 05:38:49 +0000
commitca457a18962a2e8f2122b814bf8be192c9a44a5a (patch)
tree91a7e6569c503bf7c0e939d4abb79676c9622894 /meson.build
parent385a7a700da4cda5c727a5a5dde69828af1c8a52 (diff)
downloadepiphany-ca457a18962a2e8f2122b814bf8be192c9a44a5a.tar.gz
suggestion-model: fix crash when typing in address bar
We have a refcounting error in ephy_suggestion_model_query_async(), where we pass our task into query_collections_done() without reffing it. Then the task is already destroyed when we go to form the history query, and it has destroyed our QueryData with it, and so we have a UI process crash when attempting to g_strsplit (data->query). There's no need for each outstanding query to ref the task. Let's just use one ref and drop it when the final query completes. Fixes #1522 Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/956>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions