[PATCH] Make pm2's xv driver collect options like all other drivers.

Jesse Adkins jesserayadkins at gmail.com
Sat Dec 4 23:23:51 PST 2010


The malloc and free should both be conditional (based on videoIO).
However, I do notice that there will be a leak if xvipc fails and sets
videoIO to false without freeing pGlint->Options.

What about just initializing Options to NULL and free-ing it
unconditionally if there's a failure at NewAdaptorPriv?


More information about the xorg-devel mailing list