Revert "Fix some leaks in glwidget. cf #80"
This reverts commit a17762a3249f84b1d857078c409d1d21ae9a1d31.