Commit 3b516e633b4a170ba54b6e96b069e89fa59b3dbc

Adrien Destugues 2019-11-11T22:14:00

haiku: Fix crash when opening window. - _num_clips was not set in constructor, so a NULL _clips could be mistakenly dereferenced. - As _clips is accessible outside the class, it is not a good idea to free/reallocate it. Try to limit this by reallocating only when it needs to grow. Partially fixes Bugzilla #4442.