XPost: comp.unix.programmer
Muttley@dastardlyhq.com writes:
Hello
I'm a bit uncertain from the man page and from googling around whether >XDestroyImage() only frees the XImage structure created by XCreateImage()
or whether it also frees the user allocated memory that gets passed into >XCreateImage().
Anyone know?
Kalevi answered.
To obtain an answer this question you could have run the application under valgrind - it would tell you about any memory that hadn't been
deallocated at exit (using the leak check option).
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)