compiz opengl plugin leaks a dlopen handle to itself

Bug #938475 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Triaged
Medium
Unassigned
Compiz Core
Triaged
Medium
Unassigned

Bug Description

Compiz opengl plugin leaks a handle to itself (libopengl.so). This means that if plugins are reloaded, the old copy of libopengl.so stays in memory.

Really instead of:
            dlhand = dlopen ("libopengl.so", RTLD_LAZY);
            funcPtr = (GL::FuncPtr) dlsym (dlhand, name);

it should be more like:
            funcPtr = (GL::FuncPtr) dlsym (RTLD_DEFAULT, name);

Changed in compiz:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.