Module: Mesa Branch: master Commit: 914f11e75b8ebe8a0faab76ce25fe185ab580eee URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=914f11e75b8ebe8a0faab76ce25fe185ab580eee
Author: Marek Olšák <marek.ol...@amd.com> Date: Tue Jul 25 18:28:06 2017 +0200 st/mesa: fix unconditional return in st_framebuffer_iface_remove Noticed by James Legg @ Feral. Cc: 17.2 <mesa-sta...@lists.freedesktop.org> Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- src/mesa/state_tracker/st_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index 834bcc9f8c..6447403fc6 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -560,7 +560,7 @@ st_framebuffer_iface_remove(struct st_manager *smapi, (struct st_manager_private *)smapi->st_manager_private; struct hash_entry *entry; - if (!smPriv || !smPriv->stfbi_ht); + if (!smPriv || !smPriv->stfbi_ht) return; mtx_lock(&smPriv->st_mutex); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit