Skip to content
Commit 4bca42fc authored by Guillaume Desmottes's avatar Guillaume Desmottes Committed by Emil Velikov
Browse files

drmPrime*: initialize output args to 0

Fix Valgrind errors because those memory was uninitialized.

https://bugs.freedesktop.org/show_bug.cgi?id=90194


Signed-off-by: default avatarGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>

v2: Explicitly zero the whole struct using memclear.
Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 454b1494
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment