Workaround to create_layout memory leak
Jeffrey Britton <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAJTKU_iMfyF1qbor5=vzwLZ9_6z40iCMoi+OYw94ETSpfmEm=g@mail.gmail.com> |
I can create the layout just once and then use layout.context_changed() when the context changes, like for a window resize. This avoid the memory leak. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo