projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7617a4
)
st/mesa: fix unconditional return in st_framebuffer_iface_remove
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 25 Jul 2017 16:28:06 +0000
(18:28 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 26 Jul 2017 14:47:17 +0000
(16:47 +0200)
Noticed by James Legg @ Feral.
Cc: 17.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/state_tracker/st_manager.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_manager.c
b/src/mesa/state_tracker/st_manager.c
index 834bcc9f8c2f6860247b838543a9407f5d8f0430..6447403fc66ca341247e437e959f49b8c160c299 100644
(file)
--- 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);