diff options
author | Marek Olšák <[email protected]> | 2017-07-25 18:28:06 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-07-26 16:47:17 +0200 |
commit | 914f11e75b8ebe8a0faab76ce25fe185ab580eee (patch) | |
tree | 1a65c7c5718ef3cd836106adf33e965999bdbfb9 /src/mesa/state_tracker/st_manager.c | |
parent | a7617a49fbde2fcfccdab22886aeabdbf8abb8e4 (diff) |
st/mesa: fix unconditional return in st_framebuffer_iface_remove
Noticed by James Legg @ Feral.
Cc: 17.2 <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_manager.c')
-rw-r--r-- | src/mesa/state_tracker/st_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index 834bcc9f8c2..6447403fc66 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); |