diff options
Diffstat (limited to 'src/capture/nvfbc.c')
-rw-r--r-- | src/capture/nvfbc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/capture/nvfbc.c b/src/capture/nvfbc.c index a7bb16a..c45712d 100644 --- a/src/capture/nvfbc.c +++ b/src/capture/nvfbc.c @@ -444,6 +444,7 @@ static void gsr_capture_nvfbc_destroy(gsr_capture *cap, AVCodecContext *video_co gsr_cuda_unload(&cap_nvfbc->cuda); dlclose(cap_nvfbc->library); free((void*)cap_nvfbc->params.display_to_capture); + cap_nvfbc->params.display_to_capture = NULL; free(cap->priv); cap->priv = NULL; } |