I don't know, but when it is commented, the filter doesn't trigger the error message anymore.
sp_document_add_resource() is also used in some other filters (pointlight.cpp, distantlight.cpp, spotlight.cpp and componenttransfer-funcnode.cpp) always with the same kind of comment (or // is this necessary?), but in these cases, the ressources are released differently (compare sp_fedistantlight_release with sp_feComponentTransfer_release).
> Comment: //do we need this?
I don't know, but when it is commented, the filter doesn't trigger the error message anymore. add_resource( ) is also used in some other filters (pointlight.cpp, distantlight.cpp, spotlight.cpp and componenttransf er-funcnode. cpp) always with the same kind of comment (or // is this necessary?), but in these cases, the ressources are released differently (compare sp_fedistantlig ht_release with sp_feComponentT ransfer_ release) .
sp_document_
Requesting some help from the dev list...