diff --git a/src/widget/opengl.c b/src/widget/opengl.c index 8738b5d..ae87817 100644 --- a/src/widget/opengl.c +++ b/src/widget/opengl.c @@ -251,7 +251,7 @@ static void destroy(MwWidget handle) { while(w->parent != NULL) w = w->parent; - w->berserk++; + w->berserk--; free(handle->internal); }