From: Rémi Bernon rbernon@codeweavers.com
Fixes: 5b7b76432dffa453e75c6336d76fdb856ab8d0c7 --- server/hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/hook.c b/server/hook.c index e0281d92b81..688174baab5 100644 --- a/server/hook.c +++ b/server/hook.c @@ -257,7 +257,7 @@ static inline struct hook *get_first_valid_hook( struct hook_table *table, int i } } } - return hook; + return NULL; }
/* find the next hook in the chain, skipping the deleted ones */