pipeline: Plug a leak of GLists
pipeline: Plug a leak of GLists

_cogl_pipeline_get_layers() allocates a list on the pipeline to be able
to get the pointer valid as long as possible and store that list in the
pipeline object.

You need to free that list when freeing the pipeline.

Signed-off-by: Robert Bragg <12e9293ec6b30c7fa8a0926af42807e929c1684f@linux.intel.com>

collects/cogl,Distrotech/cogl,Distrotech/cogl,gcampax/cogl,gcampax/cogl,djdeath/cogl,djdeath/cogl-android,spatulasnout/cogl,Distrotech/cogl,djdeath/cogl,djdeath/cogl-android,gcampax/cogl,collects/cogl,djdeath/cogl,spatulasnout/cogl,djdeath/cogl-android,gcampax/cogl,Distrotech/cogl