зеркало из https://github.com/mozilla/pjs.git
r=roland, r=pavlov, sr=blizzard Checkin for timecop@network.email.ne.jp - GC-Cache leaks
This commit is contained in:
Родитель
655763ce96
Коммит
49824c2a71
|
@ -190,6 +190,8 @@ xGC *nsGCCacheXlib::GetGC(Display *display, Drawable drawable, unsigned long fla
|
|||
entry->gc->AddRef(); // addref the newly created xGC
|
||||
entry->flags = flags;
|
||||
entry->gcv = *gcv;
|
||||
if (entry->clipRegion)
|
||||
XDestroyRegion(entry->clipRegion);
|
||||
entry->clipRegion = NULL;
|
||||
//printf("creating new (use)gc=%X\n",entry->gc);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче