If the constructor fails before the lists are initialized the deconstructor
will fail.
This patch is a bit of a kludge fix to just avoid the undefined behaviour. The
real fix down the road would be to avoid calling the deconstructor if the
constructor failed at all.
Tom
From 3cf2f8e32b7093c
Now with the correct email address ...
Cheers,
Tom
From: StDenis, Tom
Sent: Tuesday, November 3, 2015 13:03
To: mesa-dev@lists.freedesktop.org
Cc: gpudriverdevsupport
Subject: Avoid segfault in omx deconstructor
If the constructor fails before the lists are