i called plinit()/plend() multiple times from different program points
and got some problems with options and memory leaks.
seems that plend does not free all all the allocated memory, I could
track some leaks to opt_drvopt and plInitDispatchTable, and that
the static variables are not reset properly.
Is there some
way to fix this?