91) When can I free data structures passed to or retrieved from

Motif?

Answer:
 In most cases, especially for XmStrings and XmFontLists, Motif copies data
passed to it or retrieved from it, so it may be freed immediately.  Server-
side resources, such as pixmaps and color cells, however, are not copied, so
should not be freed.  More recent versions of Motif are better than earlier
versions and exceptions should be documented.  thanks to klee*synoptics.com
(Ken Lee)
Go Back Up

Go To Previous

Go To Next