server: move memset after check
If the malloc fails, memset would touch invalid memory.
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Loading
Please register or sign in to comment
If the malloc fails, memset would touch invalid memory.
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>