The global variables of my sfliter should be released in the unload function

There are many global variables in my sfliter, and I don’t release them in the unload function.
Is there any problem when install the sfilter to system, especially computer shutdown?
Should I release these global variables in unload function?