kmssink: do not unref a NULL buffer on error
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 22 Oct 2012 10:53:50 +0000 (11:53 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 22 Oct 2012 10:53:50 +0000 (11:53 +0100)
commit2073a68c3685f3deffb7225c3ce0b3c2798fce96
tree823be28cf59fa4fb4537684ab07fbc5fbec04fb2
parent2cbd6d0fe6fd64247107eae7b96d2441a82e9b62
kmssink: do not unref a NULL buffer on error

There are error paths where the buffer may not have been set yet.
sys/kms/gstkmssink.c