зеркало из https://github.com/mozilla/pjs.git
fix another mem leak.
This commit is contained in:
Родитель
e069b49551
Коммит
14b0f47381
|
@ -334,8 +334,9 @@ idle_resize_cb(gpointer data)
|
||||||
// info->widget);
|
// info->widget);
|
||||||
info->widget->OnResize(*info->rect);
|
info->widget->OnResize(*info->rect);
|
||||||
NS_RELEASE(info->widget);
|
NS_RELEASE(info->widget);
|
||||||
// FIXME free info->rect
|
delete info->rect;
|
||||||
g_free(info);
|
g_free(info);
|
||||||
|
|
||||||
// this will return 0 if the list is
|
// this will return 0 if the list is
|
||||||
// empty. that will remove this idle timeout.
|
// empty. that will remove this idle timeout.
|
||||||
// if it's > 1 then it will be restarted and
|
// if it's > 1 then it will be restarted and
|
||||||
|
|
Загрузка…
Ссылка в новой задаче