[WIN32][cpluff] fixed resource leak.
[cximage] fixed: fixed memory leaks in ximadsp.cpp
[cximage] fixed memory leak in ximatif.cpp
Merge pull request #3265 from wsoltys/cleanup

some fixes in various files