Displaying 3 results from an estimated 3 matches for "robocza".
2009 Dec 21
2
[PATCH 1/2] Unreference state/buffer objects on context/screen destruction
- unreference state objects so that buffer objects are unreferenced and
eventually destroyed
- free channel at screen's destruction
Index: nv50/nv50_screen.c
===================================================================
--- nv50/nv50_screen.c (wersja 32083)
+++ nv50/nv50_screen.c (kopia robocza)
@@ -162,7 +162,22 @@
nv50_screen_destroy(struct pipe_screen *pscreen)
{
struct nv50_screen *screen = nv50_screen(pscreen);
+ unsigned i;
+ for (i = 0; i < 2; i++) {
+ if (screen->constbuf_parm[i])
+ nouveau_bo_ref(NULL, &screen->constbuf_parm[i]);
+...
2009 Dec 21
1
Clean up of nv40_context->state.hw and nv40_screen->state
...themselves are not unreferenced as well (for example color buffer or z
buffer).
In order to clean those references I applied the following changes:
Index: nv40_screen.c
===================================================================
--- nv40_screen.c (wersja 32083)
+++ nv40_screen.c (kopia robocza)
@@ -140,7 +140,13 @@
nv40_screen_destroy(struct pipe_screen *pscreen)
{
struct nv40_screen *screen = nv40_screen(pscreen);
+ unsigned i;
+ for (i = 0; i < NV40_STATE_MAX; i++) {
+ if (screen->state[i])
+ so_ref(NULL, &screen->state[i]);
+ }
+
nouv...
2014 Jul 07
1
[PATH] expire plugins segfault with misconfigured dict
dovecot 2.2.13
With configuration like
plugin {
expire_dict = blblbla
}
expiere plugins segfaults during deinit. It might also segfault if the
dict service was unavaiable.
attached bellow is a diff against 2.2.13
Jul 7 14:51:11 dovecot1 dovecot: lmtp(10548, lazy): Error: expire
plugin: dict_init(blblbla) failed: Dictionary URI is missing ':':
blblbla
Jul 7 14:51:11 dovecot1