mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
[ruamoko] Actually save the cooke
This fixes the listener leak.
This commit is contained in:
parent
f77da210ff
commit
2e3e9ea7c0
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ make_cookie (progs_t *pr, func_t func, pointer_t data)
|
|||
cookie = cmemalloc (res->cookie_super, sizeof (rua_in_cookie_t));
|
||||
*cookie = search;
|
||||
cookie->pr = pr;
|
||||
Hash_AddElement (res->cookies, cookie);
|
||||
}
|
||||
cookie->users++;
|
||||
return cookie;
|
||||
|
|
Loading…
Reference in a new issue