diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-04-09 09:57:28 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-04-09 10:31:04 +0200 |
commit | 9c55db703b6505b1c9bd2a731a98116447d48fd3 (patch) | |
tree | 1c72f4883d3ba0adbf3185ed3a192a1a8fb49e56 /capture.c | |
parent | d0c6311e9c9547a9ee10310edf0c47230e15ccbb (diff) |
Switch from stdin to sockets and use io muxer
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -189,7 +189,7 @@ rollback_crtc: } void CaptureContextDestroy(struct CaptureContext* capture_context) { - GpuFrameDestroy(capture_context->gpu_frame); + if (capture_context->gpu_frame) GpuFrameDestroy(capture_context->gpu_frame); drmClose(capture_context->drm_fd); free(capture_context); } |