Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/FreeRDP-old.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'X11/xf_video.c')
-rw-r--r--X11/xf_video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/X11/xf_video.c b/X11/xf_video.c
index 8e7dad0..938437e 100644
--- a/X11/xf_video.c
+++ b/X11/xf_video.c
@@ -120,6 +120,7 @@ xf_video_init(xfInfo * xfi)
}
xfi->xv_pixfmts[i] = 0;
}
+ XFree(fo);
printf("\n");
return 0;
@@ -193,7 +194,7 @@ xf_video_process_frame(xfInfo * xfi, RD_VIDEO_FRAME_EVENT * vevent)
shminfo.shmid = xfi->xv_shmid;
shminfo.shmaddr = image->data = xfi->xv_shmaddr;
shminfo.readOnly = False;
-
+
if (!XShmAttach(xfi->display, &shminfo))
{
XFree(image);