LibVNC/x11vnc

Handle leak in screen.c

sminux opened this issue · 0 comments

Handle leak detected by svace static analyze tool

Describe the bug
The handle 'fd' is created at

fd = open(tmp, O_WRONLY);

by calling function 'open' and lost at
return raw_fb_image;

To Reproduce

Expected Behavior

Screenshots

Desktop (please complete the following information):

  • Debian and latest version:

Additional context